From: Thomas Geymayer Date: Tue, 11 Jun 2013 17:41:29 +0000 (+0200) Subject: Use global TEST_LIBS... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9a336da3595f2832bde7bdbe81f7e809c5c13360;p=simgear.git Use global TEST_LIBS... --- diff --git a/simgear/io/CMakeLists.txt b/simgear/io/CMakeLists.txt index 963e0436..7898890d 100644 --- a/simgear/io/CMakeLists.txt +++ b/simgear/io/CMakeLists.txt @@ -45,16 +45,6 @@ set(SOURCES simgear_component(io io "${SOURCES}" "${HEADERS}") if(ENABLE_TESTS) - -if (SIMGEAR_SHARED) - set(TEST_LIBS SimGearCore) -else() - set(TEST_LIBS SimGearCore - ${CMAKE_THREAD_LIBS_INIT} - ${WINSOCK_LIBRARY} - ${ZLIB_LIBRARY} - ${RT_LIBRARY}) -endif() add_executable(http_svn http_svn.cxx) target_link_libraries(http_svn ${TEST_LIBS})