summaryrefslogtreecommitdiffstats
path: root/cmake/QtDocsHelpers.cmake
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-11-05 11:14:17 +0100
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-11-06 22:03:50 +0100
commite559da3c6a11a695a0b8d285bd5494a1a4c38754 (patch)
tree2a5a450f2f5796c96ba7915b94173a5c3b2c8252 /cmake/QtDocsHelpers.cmake
parente31c6c7337477fa708e09311667ed3a8ace1b6b0 (diff)
CMake: Fix detection of the ltcg feature
When checking the value of CMAKE_INTERPROCEDURAL_OPTIMIZATION_<CONFIG>, then <CONFIG> must be the upper case configuration name. Also, we must not unset __qt_ltcg_detected, because the feature condition evaluation happens way after the feature definition, and __qt_ltcg_detected was not available anymore there. This commit amends 96bdcdacbc0. Fixes: QTBUG-87874 Change-Id: I2b555bd1d7fbc8973e1d9493045c27d61b0d2c1b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtDocsHelpers.cmake')
0 files changed, 0 insertions, 0 deletions