From b4bd6eaf927d576612b47db40647180123b73cb9 Mon Sep 17 00:00:00 2001 From: Leander Beernaert Date: Tue, 13 Aug 2019 15:51:56 +0200 Subject: 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 --- cmake/QtPostProcess.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmake/QtPostProcess.cmake') 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 -- cgit v1.2.3