From: Viktor Nonov Date: Mon, 24 Apr 2017 00:14:48 +0000 (-0700) Subject: Link the library directory so tests can be compiled on OSX X-Git-Tag: 0.12.0~11^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66cdc1a206c24653779a6ca4515a5de4fb981f32;p=check Link the library directory so tests can be compiled on OSX --- diff --git a/doc/example/tests/CMakeLists.txt b/doc/example/tests/CMakeLists.txt index fcd9c82..1d46e9e 100644 --- a/doc/example/tests/CMakeLists.txt +++ b/doc/example/tests/CMakeLists.txt @@ -8,6 +8,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../src) find_package(Check REQUIRED) include_directories(${CHECK_INCLUDE_DIRS}) +link_directories(${CHECK_LIBRARY_DIRS}) set(TEST_SOURCES check_money.c