fix for non-standartd lib paths
authorFelix Morgner <felix.morgner@gmail.com>
Mon, 13 Jan 2014 16:55:19 +0000 (17:55 +0100)
committerFelix Morgner <felix.morgner@gmail.com>
Mon, 13 Jan 2014 16:55:19 +0000 (17:55 +0100)
CMakeLists.txt

index 4886e40d93d2fa0100b0394f35d454d6a59e6613..ea4de25c48c35caba8901d78f494064749dfd16a 100644 (file)
@@ -19,6 +19,9 @@ endif()
 pkg_check_modules(LIBCONFIG libconfig)
 pkg_check_modules(LIBPROTOBUF libprotobuf-c)
 
+set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${LIBCONFIG_LIDIR})
+set(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} ${LIBPROTOBUF_LIDIR})
+
 check_function_exists(clock_gettime HAVE_CLOCK_GETTIME)
 
 if(NOT HAVE_CLOCK_GETTIME)