cmake: Install all necessary .cmake files

... for other modules

Change-Id: Iea184036a46816e524de247e1d650ae417de294c
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Kevin Funk 2019-02-13 09:45:57 +01:00
parent e1a750a102
commit 766701a9b2

View File

@ -64,9 +64,15 @@ install(EXPORT "${INSTALL_CMAKE_NAMESPACE}Targets" NAMESPACE ${INSTALL_CMAKE_EXP
## Install some QtBase specific CMake files:
install(FILES
cmake/QtBuild.cmake
cmake/QtCompilerOptimization.cmake
cmake/QtFeature.cmake
cmake/QtPlatformSupport.cmake
cmake/QtPostProcess.cmake
cmake/QtSetup.cmake
cmake/QtModuleConfig.cmake.in
DESTINATION "${config_install_dir}"
)
# TODO: Check whether this is the right place to install these
install(DIRECTORY cmake/3rdparty
DESTINATION "${config_install_dir}"
)