Set CMP0054 policy also in python/CMakeLists.txt

Change-Id: I987a6d2db6a40c11419c11d19516f7668b980b0e
This commit is contained in:
Wes McKinney committed 2017-04-18 22:54:10 -04:00
1 parent d2b4ffb3ae
commit 4a04d57a05
1 file changed
+6
+6
View File
@@ -28,6 +28,12 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/../cpp/cmake_mod
include(CMakeParseArguments)
# Compatibility with CMake 3.1
if(POLICY CMP0054)
# http://www.cmake.org/cmake/help/v3.1/policy/CMP0054.html
cmake_policy(SET CMP0054 NEW)
endif()
set(BUILD_SUPPORT_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../cpp/build-support")
# Allow "make install" to not depend on all targets.