summaryrefslogtreecommitdiffstats
path: root/cmake/QtAutoDetect.cmake
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-12-02 13:21:23 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-12-02 12:27:33 +0000
commitc800a6240353eb54bd7a2ad06c455ac9374c2476 (patch)
tree446ce6808791ab2c788841cae939c7edec863979 /cmake/QtAutoDetect.cmake
parent8dc49161bbb6aaae98522609c97803704f971569 (diff)
Cache qt_config_compile_test results
Inside qt_config_compile_test we use two different calls: check_cxx_source_compiles when given code, and try_compile when given a project. The former caches its results, while the latter does not, which means that the try_compile calls are re-executed on each reconfigure. Do what check_cxx_source_compiles does internally, and don't rerun the try_compile calls if the results were computed once. Change-Id: I2691ff08b7bb46c3fa60bbf5ed6278731c9b8e21 Reviewed-by: Leander Beernaert <leander.beernaert@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtAutoDetect.cmake')
0 files changed, 0 insertions, 0 deletions