Commit 99dbd8c2 authored by Davis King's avatar Davis King

Minor changes to cmake scripts to avoid warnings in new version of cmake.

parent aed1a3ee
......@@ -8,6 +8,7 @@ SET(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS true)
cmake_minimum_required(VERSION 2.4)
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
# Suppress cmake warnings about changes in new versions.
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
......
cmake_minimum_required(VERSION 2.6.4)
set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required
# Don't add dlib if it's already been added to the cmake project
if (NOT TARGET dlib)
......
......@@ -3,7 +3,7 @@
# information about it at http://www.cmake.org
#
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.8.4)
# 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