Use TEST_LIBS to include all libraries needed (on Mac)

This commit is contained in:
Thomas Geymayer 2013-06-11 20:26:07 +02:00
parent 9a336da359
commit 830fb3b752

View File

@ -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)