CMake: Silenced CMP0054 policy warning.
The warning is still emitted for jsoncpp and libevent, but not for Cuberite anymore.
This commit is contained in:
parent
8eaa8613da
commit
2a05d8870d
@ -1,5 +1,9 @@
|
||||
cmake_minimum_required (VERSION 2.8.7)
|
||||
|
||||
if (POLICY CMP0054)
|
||||
cmake_policy(SET CMP0054 NEW)
|
||||
endif()
|
||||
|
||||
# Without this, the MSVC variable isn't defined for MSVC builds ( http://www.cmake.org/pipermail/cmake/2011-November/047130.html )
|
||||
enable_language(CXX C)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user