]> granicus.if.org Git - check/commitdiff
Link the library directory so tests can be compiled on OSX
authorViktor Nonov <vnonov@gmail.com>
Mon, 24 Apr 2017 00:14:48 +0000 (17:14 -0700)
committerViktor Nonov <vnonov@gmail.com>
Mon, 24 Apr 2017 00:14:48 +0000 (17:14 -0700)
doc/example/tests/CMakeLists.txt

index fcd9c82525bbe1c8f9d063c1eebf7888bcad84a7..1d46e9e3a404119f2e991d6871d12ea88f3e438b 100644 (file)
@@ -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