1
0
Fork 0
flightgear/utils/TerraSync/CMakeLists.txt

23 lines
536 B
Text
Raw Normal View History

add_executable(terrasync terrasync.cxx)
target_link_libraries(terrasync
${SIMGEAR_CORE_LIBRARIES}
${SIMGEAR_CORE_LIBRARY_DEPENDENCIES}
)
if(LIBSVN_FOUND)
target_link_libraries(terrasync ${LIBSVN_LIBRARIES})
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)
endif()
install(TARGETS terrasync RUNTIME DESTINATION bin)