mirror of
https://github.com/apache/arrow.git
synced 2026-10-29 09:05:47 +08:00
Set CMP0054 policy also in python/CMakeLists.txt
Change-Id: I987a6d2db6a40c11419c11d19516f7668b980b0e
This commit is contained in:
1 parent
d2b4ffb3ae
commit
4a04d57a05
1 file changed
+6
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user