summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ca9512..1955557 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,6 @@
PROJECT(CMake)
+CMAKE_MINIMUM_REQUIRED(VERSION 1.6)
+MARK_AS_ADVANCED(CMAKE_BACKWARDS_COMPATIBILITY)
# The CMake version number.
SET(CMake_VERSION_MAJOR 1)
@@ -77,10 +79,15 @@ IF(BUILD_TESTING)
CONFIGURE_FILE(${CMake_SOURCE_DIR}/CMakeLogo.gif ${CMake_BINARY_DIR}/Testing/HTML/TestingResults/Icons/Logo.gif COPYONLY)
ENDIF (DART_ROOT)
ENDIF(BUILD_TESTING)
+MARK_AS_ADVANCED(DART_ROOT)
+MARK_AS_ADVANCED(CURL_TESTING)
-SET(EXECUTABLE_OUTPUT_PATH ${CMake_BINARY_DIR}/bin CACHE PATH
+SET(EXECUTABLE_OUTPUT_PATH ${CMake_BINARY_DIR}/bin CACHE INTERNAL
"Where to put the executables for CMake"
)
+SET(LIBRARY_OUTPUT_PATH ${CMake_BINARY_DIR}/bin CACHE INTERNAL
+ "Where to put the libraries for CMake"
+)
INCLUDE_REGULAR_EXPRESSION("^(\\.\\./)?(cm|CMake|form|ctest).*")