mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Fixed cmake file so that it is backwards compatible with cmake 2.4
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%402616
This commit is contained in:
parent
e3fd5442b3
commit
b07a618fd6
@ -7,7 +7,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()
|
||||
|
||||
PROJECT(examples)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user