summaryrefslogtreecommitdiffstats
path: root/cmake/qt.toolchain.cmake.in
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2021-11-01 12:30:30 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2021-11-05 16:54:55 +0100
commitc5409964b0c627b25131c73f95794314feb51b5d (patch)
tree7bd24e7ab245a4d981951cb55d1560bdca5a677b /cmake/qt.toolchain.cmake.in
parent7451fb36fd1de38868c6c9a48da0b1b66a771672 (diff)
configure: Allow specifying arbitrary variable assignments
It's now possible to call configure with arbitrary variable assignments "FOO=BAR" that get passed as "-DFOO=BAR" to CMake. There is no error anymore for unknown variables. CMake already warns about those: "Manually-specified variables were not used by the project: FOO". [ChangeLog][configure] Users can directly assign CMake variables with configure, for example "configure CMAKE_CXX_COMPILE=clang++-11". Fixes: QTBUG-88210 Change-Id: Ib15e63a895df717919dd2b6623fa4d284209776f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/qt.toolchain.cmake.in')
0 files changed, 0 insertions, 0 deletions