Remove the warning about CMP0054

That is temporary.
This commit is contained in:
Laurent Rineau 2015-07-29 15:44:21 +02:00
parent 0bf7d24145
commit a6b6105a7f
1 changed files with 7 additions and 0 deletions

View File

@ -20,6 +20,13 @@ if(POLICY CMP0042)
cmake_policy(SET CMP0042 OLD)
endif()
# Compatibility with CMake 3.1
if(POLICY CMP0054)
# http://www.cmake.org/cmake/help/v3.1/policy/CMP0054.html
# See the discussion https://github.com/CGAL/cgal/issues/189
cmake_policy(SET CMP0054 OLD)
endif()
#--------------------------------------------------------------------------------------------------
#