mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 19:49:51 +00:00
BUG: the modules shipped with cmake don't need
CMAKE_MINIMUM_REQUIRED(VERSION), because the cmake they are shipped with is always ok. Additionally, if a Find-module does CMAKE_MINIMUM_REQUIRED(), it changes the policies as they may be set up by the project. So this shouldn't be done in a Find-module (or surrounded by policy-push/pop commands) Alex
This commit is contained in:
parent
e6268034e9
commit
73117edf04
@ -12,8 +12,7 @@
|
||||
# TODO: Add version support.
|
||||
# Tested under Linux and Windows (MSVC)
|
||||
|
||||
CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
|
||||
INCLUDE(${CMAKE_ROOT}/Modules/FindPackageHandleStandardArgs.cmake)
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
|
||||
FIND_PATH(IL_INCLUDE_DIR il.h
|
||||
PATH_SUFFIXES include IL
|
||||
|
Loading…
Reference in New Issue
Block a user