Commit 732dbae2 authored by Davis King's avatar Davis King

Changed cmakelists.txt so that cmake 2.6 doesn't give a warning.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402583
parent 159d32d7
......@@ -6,6 +6,8 @@
# 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)
# make macros that can add #define directives to the entire project. Not just
# to the dlib library itself. I.e. to dlib and to any projects that depend
......
......@@ -6,6 +6,7 @@
# 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)
# This variable contains a list of all the tests we are building
# into the regression test suite.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment