build: fix cmake bug introduced yesterday

Compilation failed on OSX because of the missing OR OSX
This commit is contained in:
Aris Adamantiadis
2014-02-02 20:56:21 +01:00
parent 1e37430dbe
commit 3bdc2b1d4f

View File

@@ -1,8 +1,8 @@
project(tests C) project(tests C)
if (BSD OR SOLARIS) if (BSD OR SOLARIS OR OSX)
find_package(Argp) find_package(Argp)
endif (BSD OR SOLARIS) endif (BSD OR SOLARIS OR OSX)
set(TORTURE_LIBRARY torture) set(TORTURE_LIBRARY torture)
@@ -25,7 +25,7 @@ target_link_libraries(${TORTURE_LIBRARY}
${LIBSSH_LINK_LIBRARIES} ${LIBSSH_LINK_LIBRARIES}
${LIBSSH_THREADS_STATIC_LIBRARY} ${LIBSSH_THREADS_STATIC_LIBRARY}
${LIBSSH_THREADS_LINK_LIBRARIES} ${LIBSSH_THREADS_LINK_LIBRARIES}
${ARGP_LIBRARY} ${ARGP_LIBRARIES}
) )
set(TEST_TARGET_LIBRARIES set(TEST_TARGET_LIBRARIES