Use global TEST_LIBS...

This commit is contained in:
Thomas Geymayer
2013-06-11 19:41:29 +02:00
parent 6cec49ce7e
commit 9a336da359
-10
View File
@@ -46,16 +46,6 @@ simgear_component(io io "${SOURCES}" "${HEADERS}")
if(ENABLE_TESTS) 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) add_executable(http_svn http_svn.cxx)
target_link_libraries(http_svn ${TEST_LIBS}) target_link_libraries(http_svn ${TEST_LIBS})