qt5base-lts/cmake/QtHostInfoConfig.cmake.in
Joerg Bornemann f6a07dfcb7 CMake: Write QT_CPU_FEATURES to qmodule.pri
To achieve this, we save the result of the subarch test in the cache
variable TEST_subarch_result and use this value as the right hand side
of the QT_CPU_FEATURES.xxx assignment. The Qt6HostInfo package now
sets the variable QT6_HOST_INFO_SUBARCHS which will be used for the
host_build scope in qmodule.pri when cross-building.

Change-Id: I2c25f205bfc0692aef0d6f43ff4e542d27e1b948
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
2020-07-02 15:35:17 +02:00

22 lines
963 B
CMake

@PACKAGE_INIT@
set(@var_prefix@BINDIR "@INSTALL_BINDIR@")
set(@var_prefix@INCLUDEDIR "@INSTALL_INCLUDEDIR@")
set(@var_prefix@LIBDIR "@INSTALL_LIBDIR@")
set(@var_prefix@MKSPECSDIR "@INSTALL_MKSPECSDIR@")
set(@var_prefix@ARCHDATADIR "@INSTALL_ARCHDATADIR@")
set(@var_prefix@PLUGINSDIR "@INSTALL_PLUGINSDIR@")
set(@var_prefix@LIBEXECDIR "@INSTALL_LIBEXECDIR@")
set(@var_prefix@QMLDIR "@INSTALL_QMLDIR@")
set(@var_prefix@DATADIR "@INSTALL_DATADIR@")
set(@var_prefix@DOCDIR "@INSTALL_DOCDIR@")
set(@var_prefix@TRANSLATIONSDIR "@INSTALL_TRANSLATIONSDIR@")
set(@var_prefix@SYSCONFDIR "@INSTALL_SYSCONFDIR@")
set(@var_prefix@EXAMPLESDIR "@INSTALL_EXAMPLESDIR@")
set(@var_prefix@TESTSDIR "@INSTALL_TESTSDIR@")
set(@var_prefix@DESCRIPTIONSDIR "@INSTALL_DESCRIPTIONSDIR@")
set(@var_prefix@QMAKE_MKSPEC "@QT_QMAKE_TARGET_MKSPEC@")
set(@var_prefix@ARCH "@TEST_architecture_arch@")
set(@var_prefix@SUBARCHS "@TEST_subarch_result@")
set(@var_prefix@BUILDABI "@TEST_buildAbi@")