Created
November 11, 2020 11:38
-
-
Save torarnv/4d8665c100912cbad231de31598e6a77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/src/entrypoint/CMakeLists.txt w/src/entrypoint/CMakeLists.txt | |
index 67b3977065e..a5981d2059b 100644 | |
--- i/src/entrypoint/CMakeLists.txt | |
+++ w/src/entrypoint/CMakeLists.txt | |
@@ -106,6 +106,15 @@ if(using_entrypoint_library) | |
set(export_name "${INSTALL_CMAKE_NAMESPACE}EntryPointTargets") | |
qt_install(TARGETS EntryPointImplementation EXPORT ${export_name}) | |
qt_generate_prl_file(EntryPointImplementation "${INSTALL_LIBDIR}") | |
+ | |
+ set(install_prefix "${INSTALL_CMAKE_NAMESPACE}EntryPoint") | |
+ qt_path_join(config_install_dir ${QT_CONFIG_INSTALL_DIR} ${install_prefix}) | |
+ | |
+ qt_internal_export_modern_cmake_config_targets_file( | |
+ TARGETS EntryPointImplementation | |
+ EXPORT_NAME_PREFIX "${install_prefix}" | |
+ CONFIG_INSTALL_DIR "${config_install_dir}" | |
+ ) | |
endif() | |
# special case end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment