]> git.mxchange.org Git - simgear.git/blob - simgear/package/CMakeLists.txt
Hopefully fixing windows build.
[simgear.git] / simgear / package / CMakeLists.txt
1
2 include (SimGearComponent)
3
4 set(HEADERS 
5     Catalog.hxx
6     Package.hxx
7     Install.hxx
8     Root.hxx
9     Delegate.hxx
10     )
11
12 set(SOURCES 
13     Catalog.cxx
14     Package.cxx
15     Install.cxx
16     Root.cxx
17 # internal helpers
18     md5.c md5.h
19     ioapi.c ioapi_mem.c ioapi.h
20     unzip.h unzip.c
21     )
22
23 simgear_component(package package "${SOURCES}" "${HEADERS}")
24
25 if(ENABLE_PKGUTIL)
26   add_executable(sg_pkgutil pkgutil.cxx)
27   target_link_libraries(sg_pkgutil ${TEST_LIBS})
28 endif()