https://github.com/Kitware/CMake
Revision 81a3f228824058849368f9c3a8e318c02fa03097 authored by Daniele E. Domenichelli on 07 May 2014, 13:41:18 UTC, committed by Daniele E. Domenichelli on 19 May 2014, 14:55:12 UTC
Some modules change CMake minimum required version when they are included. For example: cmake_minimum_required(VERSION 2.8.12) message("${CMAKE_MINIMUM_REQUIRED_VERSION}") include(CheckTypeSize) message("${CMAKE_MINIMUM_REQUIRED_VERSION}") will produce the following output: 2.8.12 2.6 This patch ensures that when you include a CMake module the minimum required version and the policies set are left unchanged. Fixes Issue #14864
1 parent 7019152
Tip revision: 81a3f228824058849368f9c3a8e318c02fa03097 authored by Daniele E. Domenichelli on 07 May 2014, 13:41:18 UTC
Do not change minimum required version in modules
Do not change minimum required version in modules
Tip revision: 81a3f22
File | Mode | Size |
---|---|---|
Auxiliary | ||
Help | ||
Licenses | ||
Modules | ||
Source | ||
Templates | ||
Tests | ||
Utilities | ||
.gitattributes | -rw-r--r-- | 569 bytes |
.hooks-config.bash | -rw-r--r-- | 866 bytes |
CMakeCPack.cmake | -rw-r--r-- | 5.1 KB |
CMakeCPackOptions.cmake.in | -rw-r--r-- | 2.7 KB |
CMakeGraphVizOptions.cmake | -rw-r--r-- | 153 bytes |
CMakeLists.txt | -rw-r--r-- | 22.8 KB |
CMakeLogo.gif | -rw-r--r-- | 4.4 KB |
CONTRIBUTING.rst | -rw-r--r-- | 1001 bytes |
CTestConfig.cmake | -rw-r--r-- | 875 bytes |
CTestCustom.cmake.in | -rw-r--r-- | 3.8 KB |
CompileFlags.cmake | -rw-r--r-- | 3.1 KB |
Copyright.txt | -rw-r--r-- | 2.6 KB |
DartConfig.cmake | -rw-r--r-- | 809 bytes |
DartLocal.conf.in | -rw-r--r-- | 4.0 KB |
README.rst | -rw-r--r-- | 2.5 KB |
bootstrap | -rwxr-xr-x | 56.0 KB |
cmake_uninstall.cmake.in | -rw-r--r-- | 790 bytes |
configure | -rwxr-xr-x | 99 bytes |
doxygen.config | -rw-r--r-- | 27.4 KB |
Computing file changes ...