]> git.mxchange.org Git - flightgear.git/blob - utils/GPSsmooth/CMakeLists.txt
Use CMAKE_INSTALL_BINDIR
[flightgear.git] / utils / GPSsmooth / CMakeLists.txt
1
2 add_executable(GPSsmooth
3     GPSsmooth.cxx GPSsmooth.hxx
4     gps_main.cxx
5 )
6
7 add_executable(MIDGsmooth
8     MIDG-II.cxx MIDG-II.hxx
9     MIDG_main.cxx
10 )
11
12 add_executable(UGsmooth
13     UGear.cxx UGear.hxx
14     UGear_command.cxx UGear_command.hxx
15     UGear_telnet.cxx UGear_telnet.hxx
16     UGear_main.cxx 
17 )
18
19 target_link_libraries(GPSsmooth
20     ${SIMGEAR_CORE_LIBRARIES}
21     ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
22     ${PLIB_SG_LIBRARY}
23     ${PLIB_UL_LIBRARY}
24 )
25
26 target_link_libraries(MIDGsmooth
27     ${SIMGEAR_CORE_LIBRARIES}
28     ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
29     ${PLIB_SG_LIBRARY}
30     ${PLIB_UL_LIBRARY}
31 )
32
33 target_link_libraries(UGsmooth
34     ${SIMGEAR_CORE_LIBRARIES}
35     ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
36     ${PLIB_SG_LIBRARY}
37     ${PLIB_UL_LIBRARY}
38     ${ZLIB_LIBRARY}
39 )
40
41 install(TARGETS GPSsmooth MIDGsmooth UGsmooth RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})