2010-11-30 10:08:30 +00:00
|
|
|
|
2011-09-01 19:05:50 +00:00
|
|
|
|
2010-11-30 10:08:30 +00:00
|
|
|
add_executable(terrasync terrasync.cxx)
|
|
|
|
|
2011-09-01 19:05:50 +00:00
|
|
|
target_link_libraries(terrasync
|
2011-09-08 12:59:40 +00:00
|
|
|
${SIMGEAR_CORE_LIBRARIES}
|
2011-09-11 09:22:10 +00:00
|
|
|
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
|
|
|
|
)
|
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}")
|
2011-09-01 19:05:50 +00:00
|
|
|
|
2011-01-22 18:49:54 +00:00
|
|
|
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)
|