From 4667085601b0483cb35fa8cc80e2b19d91831bb2 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Mon, 13 Jan 2014 17:55:19 +0100 Subject: [PATCH] fix for non-standartd lib paths --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 4886e40..ea4de25 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) -- 2.30.2