X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=CMakeLists.txt;h=2617f6e4fc4887217ec1fe3cfcce14eb26d9a1a9;hb=3e8732b23061c681c25b794fd3ef442f919edbcb;hp=f0c85d8be556d6afaf4dca29fa9a866d1eae17b7;hpb=d263334030cee35a84248867a7facf51a3f1abe4;p=simgear.git diff --git a/CMakeLists.txt b/CMakeLists.txt index f0c85d8b..2617f6e4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -110,8 +110,6 @@ endif() option(SIMGEAR_HEADLESS "Set to ON to build SimGear without GUI/graphics support" OFF) option(JPEG_FACTORY "Enable JPEG-factory support" OFF) -option(SG_SVN_CLIENT "Set to ON to build SimGear with built-in SVN support" OFF) -option(ENABLE_LIBSVN "Set to ON to build SimGear with libsvnclient support" ON) option(ENABLE_RTI "Set to ON to build SimGear with RTI support" OFF) option(ENABLE_TESTS "Set to OFF to disable building SimGear's test applications" ON) option(ENABLE_SOUND "Set to OFF to disable building SimGear's sound support" ON) @@ -201,25 +199,6 @@ else() message(STATUS "JPEG-factory: DISABLED") endif(JPEG_FACTORY) -if (SG_SVN_CLIENT) - message(STATUS "Using built-in subversion client code") -elseif(ENABLE_LIBSVN) - find_package(SvnClient) - - if(LIBSVN_FOUND) - message(STATUS "Subversion client support: ENABLED") - set(HAVE_SVN_CLIENT_H 1) - set(HAVE_LIBSVN_CLIENT_1 1) - else() - # Oops. ENABLE_LIBSVN is ON, but svn is still missing. - # Provide clearly visible warning/hint, so builders know what else they should install (or disable). - message(WARNING "Failed to enable subversion client support. Unable to find required subversion client library. Some features may not be available (scenery download).") - message(WARNING "Install 'libsvn' library/DLL (libsvn-devel/libsvnclient/...). Otherwise disable subversion support (set 'ENABLE_LIBSVN' to 'OFF').") - endif(LIBSVN_FOUND) -else() - message(STATUS "Subversion client support: DISABLED") -endif(SG_SVN_CLIENT) - find_package(ZLIB REQUIRED) find_package(Threads REQUIRED)