]> git.mxchange.org Git - flightgear.git/blob - utils/GPSsmooth/CMakeLists.txt
NavDisplay: fix many bugs relating to stretched and heading-rotated symbols.
[flightgear.git] / utils / GPSsmooth / CMakeLists.txt
1
2 check_library_exists(rt clock_gettime "" HAVE_CLOCK_GETTIME)
3
4 add_executable(GPSsmooth gps.cxx gps.hxx gps_main.cxx)
5 add_executable(MIDGsmooth MIDG-II.cxx MIDG-II.hxx MIDG_main.cxx)
6 add_executable(UGsmooth 
7     UGear.cxx UGear.hxx
8     UGear_command.cxx UGear_command.hxx
9     UGear_main.cxx 
10     UGear_telnet.cxx
11     UGear_telnet.hxx)
12
13 if(HAVE_CLOCK_GETTIME)
14         target_link_libraries(GPSsmooth rt)
15 endif(HAVE_CLOCK_GETTIME)
16
17 target_link_libraries(GPSsmooth
18         ${SIMGEAR_CORE_LIBRARIES}
19         ${PLIB_SG_LIBRARY}
20         ${PLIB_UL_LIBRARY}
21         ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
22         ${ZLIB_LIBRARY}
23         ${WINMM_LIBRARY}
24 )
25
26 if(HAVE_CLOCK_GETTIME)
27         target_link_libraries(MIDGsmooth rt)
28 endif(HAVE_CLOCK_GETTIME)
29
30 target_link_libraries(MIDGsmooth
31         ${SIMGEAR_CORE_LIBRARIES}
32         ${PLIB_SG_LIBRARY}
33         ${PLIB_UL_LIBRARY}
34         ${WINMM_LIBRARY}
35         ${ZLIB_LIBRARY}
36         ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
37 )
38
39 if(HAVE_CLOCK_GETTIME)
40         target_link_libraries(UGsmooth rt)
41 endif(HAVE_CLOCK_GETTIME)
42
43 target_link_libraries(UGsmooth
44         ${SIMGEAR_CORE_LIBRARIES}
45         ${PLIB_SG_LIBRARY}
46         ${PLIB_UL_LIBRARY}
47         ${WINMM_LIBRARY}
48         ${ZLIB_LIBRARY}
49         ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
50 )
51
52 install(TARGETS GPSsmooth MIDGsmooth UGsmooth RUNTIME DESTINATION bin)