]> git.mxchange.org Git - simgear.git/blobdiff - simgear/package/CMakeLists.txt
Tweak HTTP code to always sleep.
[simgear.git] / simgear / package / CMakeLists.txt
index 4c41020f4929cd27cdb559667c5373ba93750fa9..03178960885f036e93dcdcce880cc610130a5d61 100644 (file)
@@ -14,28 +14,15 @@ set(SOURCES
     Package.cxx
     Install.cxx
     Root.cxx
-    md5.c
+# internal helpers
+    md5.c md5.h
+    ioapi.c ioapi_mem.c ioapi.h
+    unzip.h unzip.c
     )
 
 simgear_component(package package "${SOURCES}" "${HEADERS}")
 
-if (SIMGEAR_SHARED)
-    set(APP_LIBS SimGearCore)
-else()
-    set(APP_LIBS
-        ${LibArchive_LIBRARIES}
-        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)