From 3bdc2b1d4f1f0bb114b82f5e0b838e808b691d0a Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sun, 2 Feb 2014 20:56:21 +0100 Subject: [PATCH] build: fix cmake bug introduced yesterday Compilation failed on OSX because of the missing OR OSX --- tests/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index bb67939d..e1a8166b 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -1,8 +1,8 @@ project(tests C) -if (BSD OR SOLARIS) +if (BSD OR SOLARIS OR OSX) find_package(Argp) -endif (BSD OR SOLARIS) +endif (BSD OR SOLARIS OR OSX) set(TORTURE_LIBRARY torture) @@ -25,7 +25,7 @@ target_link_libraries(${TORTURE_LIBRARY} ${LIBSSH_LINK_LIBRARIES} ${LIBSSH_THREADS_STATIC_LIBRARY} ${LIBSSH_THREADS_LINK_LIBRARIES} - ${ARGP_LIBRARY} + ${ARGP_LIBRARIES} ) set(TEST_TARGET_LIBRARIES