Browse Source

made more options advanced

Ken Martin 22 years ago
parent
commit
4228cd1ecf
1 changed files with 8 additions and 1 deletions
  1. 8 1
      CMakeLists.txt

+ 8 - 1
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).*")