summaryrefslogtreecommitdiffstats
path: root/cmake/QtPostProcess.cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-03-12 16:16:55 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-04-17 20:42:10 +0200
commitbfcf36d459c7a36a92dd6f9127e6513f7a08277e (patch)
tree971b021ae9b51046af28512f6e4c69d289fdfe2e /cmake/QtPostProcess.cmake
parent6f5c91e98599f1c79085ea7bb819a6e2d3411053 (diff)
CMake: Generate qmake .prl files
This commit also adds a qt_finalize_module function that is called for every Qt module after all link dependencies have been added. Change-Id: I489d188d05e368208a8a62828bb12fb395df54bc Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtPostProcess.cmake')
-rw-r--r--cmake/QtPostProcess.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmake/QtPostProcess.cmake b/cmake/QtPostProcess.cmake
index 798fd947f1..9ad7515e53 100644
--- a/cmake/QtPostProcess.cmake
+++ b/cmake/QtPostProcess.cmake
@@ -470,3 +470,9 @@ qt_create_tools_config_files()
if (ANDROID)
qt_modules_process_android_dependencies()
endif()
+
+# Install prl files
+qt_install(DIRECTORY "${PROJECT_BINARY_DIR}/${INSTALL_LIBDIR}/"
+ DESTINATION ${INSTALL_LIBDIR}
+ FILES_MATCHING PATTERN "*.prl"
+)