]> git.mxchange.org Git - simgear.git/blob - simgear/magvar/CMakeLists.txt
Use the original filename for the compressed image message.
[simgear.git] / simgear / magvar / CMakeLists.txt
1
2 include (SimGearComponent)
3
4 set(HEADERS magvar.hxx coremag.hxx)
5 set(SOURCES magvar.cxx coremag.cxx)
6
7 simgear_component(magvar magvar "${SOURCES}" "${HEADERS}")
8
9 if(ENABLE_TESTS)
10 add_executable(test_magvar testmagvar.cxx )
11
12 if (SIMGEAR_SHARED)
13     target_link_libraries(test_magvar SimGearCore)
14 else()
15     target_link_libraries(test_magvar sgmagvar)
16 endif()
17
18 endif(ENABLE_TESTS)