Commit 59524864 authored by Guillaume Pasero's avatar Guillaume Pasero

Merge branch 'missing_install_cmakefiles' into 'develop'

BUG: files missing to use ENABLE_SHARED in remote modules

See merge request !568
parents 9a7910a8 b44b4038
Pipeline #2378 passed with stages
in 7 minutes and 35 seconds
......@@ -401,6 +401,8 @@ install(FILES ${OTB_BINARY_DIR}/CMakeFiles/OTBConfig.cmake
CMake/OTBStandaloneModuleMacros.cmake
CMake/OTBModuleExternal.cmake
CMake/UseOTB.cmake
CMake/GenerateExportHeaderCustom.cmake
CMake/exportheader.cmake.in
DESTINATION ${OTB_INSTALL_PACKAGE_DIR}
COMPONENT Development)
get_property(OTBTargets_MODULES GLOBAL PROPERTY OTBTargets_MODULES)
......
......@@ -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