]> git.mxchange.org Git - flightgear.git/blob - utils/TerraSync/CMakeLists.txt
Fix for bug #204 and #222 by Bertrand Coconnier; NaNs (bug #222) were basically gener...
[flightgear.git] / utils / TerraSync / CMakeLists.txt
1
2         
3 add_executable(terrasync terrasync.cxx)
4
5 target_link_libraries(terrasync 
6         ${SIMGEAR_LIBRARIES}
7         ${ZLIB_LIBRARIES}
8     ${WINSOCK_LIBRARY})
9
10 if(LIBSVN_FOUND)
11         target_link_libraries(terrasync ${LIBSVN_LIBRARIES})
12         set_property(TARGET terrasync APPEND PROPERTY COMPILE_FLAGS "${APR_CFLAGS}")
13         
14         IF(APPLE)
15             set_property(SOURCE terrasync.cxx PROPERTY COMPILE_FLAGS "-iwithsysroot ${LIBSVN_INCLUDE_DIR}")
16         ELSE()
17             include_directories(${LIBSVN_INCLUDE_DIR})
18         ENDIF(APPLE)
19 endif()
20
21
22 install(TARGETS terrasync RUNTIME DESTINATION bin)