diff options
author | Brad King <brad.king@kitware.com> | 2010-12-17 14:39:30 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-12-17 14:39:30 (GMT) |
commit | a6cb1d46535b083a74be6c6517acf343294105a7 (patch) | |
tree | b19f741ce68efeefeb05bfeee6ae23b9587eadb0 /Modules/SystemInformation.cmake | |
parent | da0a8f7f448a6ebbf39f50199f661b63a1cdc261 (diff) | |
download | CMake-a6cb1d46535b083a74be6c6517acf343294105a7.zip CMake-a6cb1d46535b083a74be6c6517acf343294105a7.tar.gz CMake-a6cb1d46535b083a74be6c6517acf343294105a7.tar.bz2 |
Declare min CMake version in --system-information project
The --system-information flag's project triggered a CMP0000 warning
because the CMakeLists.txt it generates needs cmake_minimum_required.
Diffstat (limited to 'Modules/SystemInformation.cmake')
-rw-r--r-- | Modules/SystemInformation.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/SystemInformation.cmake b/Modules/SystemInformation.cmake index d973e90f..d4f2233 100644 --- a/Modules/SystemInformation.cmake +++ b/Modules/SystemInformation.cmake @@ -1,6 +1,6 @@ #============================================================================= -# Copyright 2007-2009 Kitware, Inc. +# Copyright 2007-2010 Kitware, Inc. # # Distributed under the OSI-approved BSD License (the "License"); # see accompanying file Copyright.txt for details. @@ -12,6 +12,7 @@ # (To distribute this file outside of CMake, substitute the full # License text for the above reference.) +CMAKE_MINIMUM_REQUIRED(VERSION ${CMAKE_VERSION}) PROJECT(DumpInformation) # first get the standard information for th platform |