mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 09:08:58 -05:00
BUG: don't use CMAKE_MINIMUM_REQUIRED() in find modules, it can change the
policy settings done in the projects cmake files (and it doesn't make sense since it is always part of the correct cmake version) Alex
This commit is contained in:
@@ -93,7 +93,11 @@
|
||||
#
|
||||
|
||||
# this module required CMake 2.5 for the Boost_FIND_VERSION stuff
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION "2.6" FATAL_ERROR)
|
||||
|
||||
# this must not be done in find modules, it changes the policy settings, which may have been
|
||||
# set in the projects cmake files.
|
||||
# beside that this module comes with cmake, so the cmake version is always correct, Alex
|
||||
# CMAKE_MINIMUM_REQUIRED(VERSION "2.6" FATAL_ERROR)
|
||||
|
||||
# MESSAGE(STATUS "Finding Boost libraries.... ")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user