]> git.mxchange.org Git - simgear.git/blobdiff - simgear/package/CMakeLists.txt
Tweak HTTP code to always sleep.
[simgear.git] / simgear / package / CMakeLists.txt
index 977b285dc3795b74aec4dba8c68d46e2de97bd08..03178960885f036e93dcdcce880cc610130a5d61 100644 (file)
@@ -22,22 +22,7 @@ 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}
-    )
+if(ENABLE_PKGUTIL)
+  add_executable(sg_pkgutil pkgutil.cxx)
+  target_link_libraries(sg_pkgutil ${TEST_LIBS})
 endif()
-
-add_executable(sg_pkgutil pkgutil.cxx)
-target_link_libraries(sg_pkgutil ${APP_LIBS})
-
-if(ENABLE_TESTS)
-
-
-endif(ENABLE_TESTS)