From: Felix Morgner Date: Mon, 13 Jan 2014 21:39:30 +0000 (+0100) Subject: added the REQUIRED flag for libconfig and protobuf-c X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;h=ce8405ded684cdcecffee29236ee1efdcd149626;p=umurmur.git added the REQUIRED flag for libconfig and protobuf-c --- diff --git a/CMakeLists.txt b/CMakeLists.txt index e1755fe..1fc4f93 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,8 +16,8 @@ else() set(USE_POLARSSL ON) endif() -pkg_check_modules(LIBCONFIG libconfig) -pkg_check_modules(LIBPROTOBUF libprotobuf-c) +pkg_check_modules(LIBCONFIG REQUIRED libconfig) +pkg_check_modules(LIBPROTOBUF REQUIRED libprotobuf-c) link_directories(${LIBCONFIG_LIBDIR} ${LIBPROTOBUF_LIBDIR})