diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2022-11-23 12:54:28 -0800 |
---|---|---|
committer | Thiago Macieira <thiago.macieira@intel.com> | 2022-11-28 11:24:02 -0800 |
commit | 0afb8f5c45c2ae51b0a9154a9f069c905e1f0ee8 (patch) | |
tree | f3963b870fa7741c081cd865479c24c1fd250147 /cmake/QtBaseConfigureTests.cmake | |
parent | f6f1ee63dc1fbdd1f49a18949bd44f6bb0251d1d (diff) |
CMake/syncqt: export the TEST_ld_version_script variable
So other modules can see it when they're built outside of qt5.git.
Change-Id: I76216ced393445a4ae2dfffd172a52168a2a55b4
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Diffstat (limited to 'cmake/QtBaseConfigureTests.cmake')
-rw-r--r-- | cmake/QtBaseConfigureTests.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/QtBaseConfigureTests.cmake b/cmake/QtBaseConfigureTests.cmake index d0c82e4098..b79294261c 100644 --- a/cmake/QtBaseConfigureTests.cmake +++ b/cmake/QtBaseConfigureTests.cmake @@ -150,6 +150,8 @@ VERS_1; endif() set(TEST_ld_version_script "${HAVE_LD_VERSION_SCRIPT}" CACHE INTERNAL "linker version script support") + list(APPEND QT_BASE_CONFIGURE_TESTS_VARS_TO_EXPORT TEST_ld_version_script) + set(QT_BASE_CONFIGURE_TESTS_VARS_TO_EXPORT ${QT_BASE_CONFIGURE_TESTS_VARS_TO_EXPORT} CACHE INTERNAL "Test variables that should be exported") endfunction() function(qt_internal_ensure_latest_win_nt_api) |