]> git.mxchange.org Git - flightgear.git/blob - utils/TerraSync/CMakeLists.txt
Working Cmake-terrasync-libsvn support. Probably needs additional refinement, but...
[flightgear.git] / utils / TerraSync / CMakeLists.txt
1
2 if(LIBSVN_FOUND)
3         include_directories(${LIBSVN_INCLUDE_DIR})
4 endif(LIBSVN_FOUND)
5         
6 add_executable(terrasync terrasync.cxx)
7
8 target_link_libraries(terrasync 
9         ${SIMGEAR_LIBRARIES}
10         ${ZLIB_LIBRARIES}
11     ${WINSOCK_LIBRARY})
12
13 if(LIBSVN_FOUND)
14         target_link_libraries(terrasync ${LIBSVN_LIBRARIES})
15         set_property(TARGET terrasync APPEND PROPERTY COMPILE_FLAGS ${APR_CFLAGS})
16 endif()
17
18
19 install(TARGETS terrasync RUNTIME DESTINATION bin)