]> git.mxchange.org Git - flightgear.git/blob - utils/TerraSync/CMakeLists.txt
First attempt at libsvn support in terrasync with CMake
[flightgear.git] / utils / TerraSync / CMakeLists.txt
1
2 if(LIBSVN_FOUND)
3         message(STATUS "includes '${LIBSVN_INCLUDE_DIRS}'")
4         include_directories(${LIBSVN_INCLUDE_DIRS})
5         add_definitions(${APR_CFLAGS})
6 endif(LIBSVN_FOUND)
7         
8 add_executable(terrasync terrasync.cxx)
9
10 target_link_libraries(terrasync 
11         ${SIMGEAR_LIBRARIES}
12         ${ZLIB_LIBRARIES}
13     ${WINSOCK_LIBRARY})
14
15 if(LIBSVN_FOUND)
16         target_link_libraries(terrasync ${LIBSVN_LIBRARIES})
17 endif()
18
19
20 install(TARGETS terrasync RUNTIME DESTINATION bin)