Commit b44b4038 authored by Guillaume Pasero's avatar Guillaume Pasero

PKG: fix compilation script for external Python wrappers

parent 3ed05711
Pipeline #2369 passed with stages
in 64 minutes and 7 seconds
......@@ -21,6 +21,10 @@
cmake_minimum_required(VERSION 3.10.1)
project(OTBPythonWrappers)
if(POLICY CMP0072)
cmake_policy(SET CMP0072 NEW)
endif()
get_filename_component(PKG_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}" PATH)
get_filename_component(PKG_PREFIX "${PKG_PREFIX}" PATH)
get_filename_component(PKG_PREFIX "${PKG_PREFIX}" PATH)
......
......@@ -22,6 +22,7 @@ get_filename_component(PKG_PREFIX "${CTEST_SCRIPT_DIRECTORY}" PATH)
get_filename_component(PKG_PREFIX "${PKG_PREFIX}" PATH)
get_filename_component(PKG_PREFIX "${PKG_PREFIX}" PATH)
set(CTEST_PROJECT_NAME OTBPythonWrappers)
set(CTEST_SOURCE_DIRECTORY ${CTEST_SCRIPT_DIRECTORY})
set(CTEST_BINARY_DIRECTORY ${CTEST_SCRIPT_DIRECTORY}/build)
if(WIN32)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment