--- CMakeLists.txt 2010-03-21 00:08:10.000000000 +0800 +++ CMakeLists.txt 2024-07-18 23:33:39.000000000 +0800 @@ -27,6 +27,8 @@ ENDIF (CMAKE_MAJOR_VERSION EQUAL 2 AND CMAKE_MINOR_VERSION EQUAL 4) SET(BASE_VERSION 1.6.0) +cmake_policy(SET CMP0004 OLD) + OPTION(BUILD_TESTS "Building the tests yes or no (default off)") SET(TESTINGBUILD OFF CACHE BOOL "Enable/Disable special testing flags") @@ -170,9 +172,6 @@ "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" IMMEDIATE @ONLY) -ADD_CUSTOM_TARGET(uninstall - "${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") - ADD_CUSTOM_TARGET(dist "${CMAKE_BINARY_DIR}/makedist.sh" DEPENDS doc