diff options
author | Leander Beernaert <leander.beernaert@qt.io> | 2019-08-13 15:51:56 +0200 |
---|---|---|
committer | Leander Beernaert <leander.beernaert@qt.io> | 2019-08-14 07:32:18 +0000 |
commit | b4bd6eaf927d576612b47db40647180123b73cb9 (patch) | |
tree | e76970e1a902babee906576efc908530bf40548f /cmake/QtPostProcess.cmake | |
parent | 87078650a503477ddf63cf5656e4e82e9259ef56 (diff) |
Export architecture config test variables
Export the architecture configuration variables from QtBase. There are
other modules that require access to this information in order to
enable certain features (e.g: qml_jit in QtDeclarative).
Change-Id: If2c7f29ccb1c0b0a0db3d78ad133a2a6be12b5ad
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtPostProcess.cmake')
-rw-r--r-- | cmake/QtPostProcess.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/QtPostProcess.cmake b/cmake/QtPostProcess.cmake index c10f827575..d0f370775f 100644 --- a/cmake/QtPostProcess.cmake +++ b/cmake/QtPostProcess.cmake @@ -265,6 +265,10 @@ endfunction() function(qt_generate_build_internals_extra_cmake_code) if(PROJECT_NAME STREQUAL "QtBase") + set(QT_EXTRA_BUILD_INTERNALS_VARS) + foreach(var IN LISTS qt_base_configure_tests_vars_to_export) + string(APPEND QT_EXTRA_BUILD_INTERNALS_VARS "set(${var} \"${${var}}\" CACHE INTERNAL \"\")\n") + endforeach() set(QT_SOURCE_TREE "${QtBase_SOURCE_DIR}") qt_path_join(extra_file_path |