From: Felix Morgner Date: Mon, 13 Jan 2014 17:00:22 +0000 (+0100) Subject: final fix for the linking directories. X-Git-Url: http://git.code-monkey.de/?a=commitdiff_plain;ds=sidebyside;h=029fb0cb318e083dab04604c536ccfc5d9a791ca;p=umurmur.git final fix for the linking directories. --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ea4de25..e1755fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,8 +19,7 @@ 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}) +link_directories(${LIBCONFIG_LIBDIR} ${LIBPROTOBUF_LIBDIR}) check_function_exists(clock_gettime HAVE_CLOCK_GETTIME)