From 830fb3b752b67e2c8f86ed46517741851b5ca3f6 Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Tue, 11 Jun 2013 20:26:07 +0200 Subject: [PATCH] Use TEST_LIBS to include all libraries needed (on Mac) --- simgear/package/CMakeLists.txt | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/simgear/package/CMakeLists.txt b/simgear/package/CMakeLists.txt index 977b285d..1822205c 100644 --- a/simgear/package/CMakeLists.txt +++ b/simgear/package/CMakeLists.txt @@ -22,20 +22,8 @@ set(SOURCES simgear_component(package package "${SOURCES}" "${HEADERS}") -if (SIMGEAR_SHARED) - set(APP_LIBS SimGearCore) -else() - set(APP_LIBS - SimGearCore - ${CMAKE_THREAD_LIBS_INIT} - ${WINSOCK_LIBRARY} - ${ZLIB_LIBRARY} - ${RT_LIBRARY} - ) -endif() - add_executable(sg_pkgutil pkgutil.cxx) -target_link_libraries(sg_pkgutil ${APP_LIBS}) +target_link_libraries(sg_pkgutil ${TEST_LIBS}) if(ENABLE_TESTS) -- 2.39.5