diff --git a/CMakeLists.txt b/CMakeLists.txt
index ecd5e87898172178ed82399fa518e3fe9e37558f..df298c16d3902a6f2ff8a6a73fe5b7c6a418ba4a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -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)
diff --git a/Modules/Wrappers/SWIG/src/python/StandaloneWrapper.in b/Modules/Wrappers/SWIG/src/python/StandaloneWrapper.in
index 9a657eabcddda9383b676c4dc98772d694a40e4b..a0b9e362917c8aa87c0552b3e8076bad27006385 100644
--- a/Modules/Wrappers/SWIG/src/python/StandaloneWrapper.in
+++ b/Modules/Wrappers/SWIG/src/python/StandaloneWrapper.in
@@ -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)
diff --git a/Packaging/Files/build_wrapping.cmake b/Packaging/Files/build_wrapping.cmake
index 3b1f28dd15d5c94d618d3f8f7d09f1c7e4f2a2a2..45036d00e7d1eb28b086a89913cd22bea61cc45e 100644
--- a/Packaging/Files/build_wrapping.cmake
+++ b/Packaging/Files/build_wrapping.cmake
@@ -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)