diff --git a/Packaging/install_cmake_files.cmake b/Packaging/install_cmake_files.cmake index ca63afb0f6203fa8295aece0e09dcc8a03f15939..d92d803d8072ea1ea9016c51dd34e052b8f06332 100644 --- a/Packaging/install_cmake_files.cmake +++ b/Packaging/install_cmake_files.cmake @@ -31,4 +31,11 @@ function(install_cmake_files) MATCH_STRING "${CMAKE_INSTALL_PREFIX}" REPLACE_VAR "OTB_INSTALL_PREFIX" ) + + # install Qt5 cmake files (no patching required) + file(GLOB _qt5_cmake_folders "${SUPERBUILD_INSTALL_DIR}/lib/cmake/Qt5*") + foreach(_qt5_folder ${_qt5_cmake_folders}) + install_without_message("${_qt5_folder}" "lib/cmake") + endforeach() + endfunction()