summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-06-22 18:01:30 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-07-01 18:09:03 +0200
commit062318feb2d3b7598409c7e81e4459c2f4607764 (patch)
tree72fd987ee02f90a48bda03ddd5db93111339fdf7 /src/corelib/plugin
parent389c772fd4a04933d95904e88470506a44535f92 (diff)
CMake: Fix non-prefix build detection when CMAKE_STAGING_PREFIX is set
It wasn't possible to create a cross, non-prefix build with CMAKE_INSTALL_PREFIX set to something else but the qtbase build dir and CMAKE_STAGING_PREFIX set to the qtbase build dir. This would be equivalent to configure -prefix /usr \ -extprefix ~/my/qtbase/build/dir Fix this by comparing the qtbase build dir against CMAKE_STAGING_PREFIX if it is set. We also have to adjust the QT_BUILD_DIR variable in a similar way. Change-Id: Iaba5cf0f6954ae4b15d8af1fc62634f5d7f68835 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/plugin')
0 files changed, 0 insertions, 0 deletions