Commit 2d94cbe8 authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

BUG: BoostDetect.cmake not installed properly

parent 0650a0f4
Pipeline #8662 failed with stages
in 110 minutes and 39 seconds
......@@ -41,13 +41,11 @@ function(install_cmake_files)
#install boost cmake files
file(GLOB _boost_main_cmake "${SUPERBUILD_INSTALL_DIR}/lib/cmake/Boost-*")
file(GLOB _boost_modules_cmake "${SUPERBUILD_INSTALL_DIR}/lib/cmake/boost_*")
file(GLOB _boost_detect_file "${SUPERBUILD_INSTALL_DIR}/lib/cmake/BoostDetectToolset-*.cmake")
foreach(_boost_cmake_file ${_boost_main_cmake})
install_without_message("${_boost_cmake_file}" "lib/cmake")
endforeach()
foreach(_boost_module_file ${_boost_modules_cmake})
install_without_message("${_boost_module_file}" "lib/cmake")
endforeach()
install_without_message("${_boost_detect_file}" "lib/cmake")
endfunction()
......@@ -41,6 +41,9 @@ function(prepare_file_list file_list_result)
list(APPEND file_list "${_configured}")
endforeach()
file(GLOB _boost_detect_file "${SUPERBUILD_INSTALL_DIR}/lib/cmake/BoostDetectToolset-*.cmake")
list(APPEND file_list "${_boost_detect_file}")
if(HAVE_PYTHON)
list(APPEND file_list "_otbApplication${PYMODULE_EXT}")
endif()
......
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