mirror of https://github.com/davisking/dlib.git
Fixed cmake files so they still work with the old version of cmake.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402611
This commit is contained in:
parent
008b03659a
commit
80c9598904
|
@ -6,7 +6,9 @@
|
|||
# setting this makes CMake allow normal looking IF ELSE statements
|
||||
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
||||
cmake_minimum_required(VERSION 2.4)
|
||||
cmake_policy(SET CMP0003 NEW)
|
||||
if(COMMAND cmake_policy)
|
||||
cmake_policy(SET CMP0003 NEW)
|
||||
endif()
|
||||
|
||||
|
||||
# make macros that can add #define directives to the entire project. Not just
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
# setting this makes CMake allow normal looking IF ELSE statements
|
||||
SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
|
||||
cmake_minimum_required(VERSION 2.4)
|
||||
cmake_policy(SET CMP0003 NEW)
|
||||
if(COMMAND cmake_policy)
|
||||
cmake_policy(SET CMP0003 NEW)
|
||||
endif(COMMAND cmake_policy)
|
||||
|
||||
# This variable contains a list of all the tests we are building
|
||||
# into the regression test suite.
|
||||
|
|
Loading…
Reference in New Issue