X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=utils%2FTerraSync%2FCMakeLists.txt;h=cc27ec82b4890b9ec3973693290bf0f1dd7963d9;hb=ead3be2098e128729d2d78b89280025198460858;hp=86526eb0b932c609c6f667fb228213b23a6bb856;hpb=7d95b7e09d584d7d4c62cd69e9ce8c872b2ad4d7;p=flightgear.git diff --git a/utils/TerraSync/CMakeLists.txt b/utils/TerraSync/CMakeLists.txt index 86526eb0b..cc27ec82b 100644 --- a/utils/TerraSync/CMakeLists.txt +++ b/utils/TerraSync/CMakeLists.txt @@ -1,19 +1,9 @@ -if(LIBSVN_FOUND) - include_directories(${LIBSVN_INCLUDE_DIR}) -endif(LIBSVN_FOUND) - add_executable(terrasync terrasync.cxx) -target_link_libraries(terrasync - ${SIMGEAR_LIBRARIES} - ${ZLIB_LIBRARIES} - ${WINSOCK_LIBRARY}) - -if(LIBSVN_FOUND) - target_link_libraries(terrasync ${LIBSVN_LIBRARIES}) - set_property(TARGET terrasync APPEND PROPERTY COMPILE_FLAGS ${APR_CFLAGS}) -endif() - +target_link_libraries(terrasync + ${SIMGEAR_CORE_LIBRARIES} + ${SIMGEAR_CORE_LIBRARY_DEPENDENCIES} +) install(TARGETS terrasync RUNTIME DESTINATION bin)