]> git.mxchange.org Git - simgear.git/commitdiff
Use global TEST_LIBS...
authorThomas Geymayer <tomgey@gmail.com>
Tue, 11 Jun 2013 17:41:29 +0000 (19:41 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Tue, 11 Jun 2013 17:41:29 +0000 (19:41 +0200)
simgear/io/CMakeLists.txt

index 963e043679ae4ee36464431c9adb6fc51a1bbad4..7898890d71c7c68a06a6d1b6c603da0bebc065ee 100644 (file)
@@ -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})