CMake: Hard-code QT_CONFIGURE_CROSSBUILD to 0
The qmake we're building is always built for the target platform. Therefore, QT_CONFIGURE_CROSSBUILD can always be set to a falsy value. Change-Id: I0f03c4ce0c75d3b4e97be5141adf742276131dcb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
fb55e1e71e
commit
4fbb040f75
@ -23,6 +23,7 @@ static const char qt_configure_strs[] =
|
|||||||
#define QT_CONFIGURE_HOSTBINDIR_TO_EXTPREFIX_PATH "@QT_CONFIGURE_HOSTBINDIR_TO_EXTPREFIX_PATH@"
|
#define QT_CONFIGURE_HOSTBINDIR_TO_EXTPREFIX_PATH "@QT_CONFIGURE_HOSTBINDIR_TO_EXTPREFIX_PATH@"
|
||||||
#define QT_CONFIGURE_HOSTBINDIR_TO_HOSTPREFIX_PATH "@QT_CONFIGURE_HOSTBINDIR_TO_HOSTPREFIX_PATH@"
|
#define QT_CONFIGURE_HOSTBINDIR_TO_HOSTPREFIX_PATH "@QT_CONFIGURE_HOSTBINDIR_TO_HOSTPREFIX_PATH@"
|
||||||
#ifdef QT_BUILD_QMAKE
|
#ifdef QT_BUILD_QMAKE
|
||||||
|
# define QT_CONFIGURE_CROSSBUILD 0
|
||||||
# define QT_CONFIGURE_SYSROOTIFY_PREFIX false
|
# define QT_CONFIGURE_SYSROOTIFY_PREFIX false
|
||||||
#endif
|
#endif
|
||||||
#define QT_CONFIGURE_PREFIX_PATH qt_configure_prefix_path_str + 12
|
#define QT_CONFIGURE_PREFIX_PATH qt_configure_prefix_path_str + 12
|
||||||
|
Loading…
x
Reference in New Issue
Block a user