disable the CMake CMP0054 warning
This commit is contained in:
parent
e7cae6d17a
commit
898ec72ed9
@ -37,6 +37,12 @@ endif(BIICODE)
|
||||
project(nana)
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
|
||||
# Compatibility with CMake 3.1
|
||||
if(POLICY CMP0054)
|
||||
# http://www.cmake.org/cmake/help/v3.1/policy/CMP0054.html
|
||||
cmake_policy(SET CMP0054 OLD)
|
||||
endif()
|
||||
|
||||
add_definitions(-DNANA_IGNORE_CONF)
|
||||
|
||||
if(WIN32)
|
||||
|
Loading…
x
Reference in New Issue
Block a user