Use global TEST_LIBS...

This commit is contained in:
Thomas Geymayer
2013-06-11 19:41:29 +02:00
parent 6cec49ce7e
commit 9a336da359

View 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})