Fixed cmake 3x cmp0048 warning
parent
ce01b413b1
commit
e6988f62f6
|
@ -1,7 +1,11 @@
|
||||||
cmake_minimum_required(VERSION 2.4.4)
|
cmake_minimum_required(VERSION 2.4.4)
|
||||||
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
|
set(CMAKE_ALLOW_LOOSE_LOOP_CONSTRUCTS ON)
|
||||||
|
|
||||||
|
# use the old project command http://www.cmake.org/cmake/help/v3.0/policy/CMP0048.html
|
||||||
|
cmake_policy(PUSH)
|
||||||
|
cmake_policy(SET CMP0048 OLD)
|
||||||
project(zlib C)
|
project(zlib C)
|
||||||
|
cmake_policy(POP)
|
||||||
|
|
||||||
set(VERSION "1.2.8")
|
set(VERSION "1.2.8")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue