2010-11-30 10:08:30 +00:00
|
|
|
|
2011-01-09 00:15:29 +00:00
|
|
|
|
2010-11-30 10:08:30 +00:00
|
|
|
add_executable(terrasync terrasync.cxx)
|
|
|
|
|
|
|
|
target_link_libraries(terrasync
|
|
|
|
${SIMGEAR_LIBRARIES}
|
2011-01-05 22:47:08 +00:00
|
|
|
${ZLIB_LIBRARIES}
|
|
|
|
${WINSOCK_LIBRARY})
|
2010-11-30 10:08:30 +00:00
|
|
|
|
2011-01-09 00:15:29 +00:00
|
|
|
if(LIBSVN_FOUND)
|
|
|
|
target_link_libraries(terrasync ${LIBSVN_LIBRARIES})
|
2011-01-22 18:49:54 +00:00
|
|
|
set_property(TARGET terrasync APPEND PROPERTY COMPILE_FLAGS "${APR_CFLAGS}")
|
|
|
|
|
|
|
|
IF(APPLE)
|
|
|
|
set_property(SOURCE terrasync.cxx PROPERTY COMPILE_FLAGS "-iwithsysroot ${LIBSVN_INCLUDE_DIR}")
|
|
|
|
ELSE()
|
|
|
|
include_directories(${LIBSVN_INCLUDE_DIR})
|
|
|
|
ENDIF(APPLE)
|
2010-11-30 10:08:30 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
|
|
|
|
install(TARGETS terrasync RUNTIME DESTINATION bin)
|