commit | 6df925b595220a0db1d7c172f15f39f4bee9f75d | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Mon May 06 09:59:51 2024 -0400 |
committer | Brad King <brad.king@kitware.com> | Mon May 06 13:59:27 2024 -0400 |
tree | 09c517c735764c389e69b8a084b655f0516bd857 | |
parent | 1086902abd070573060186e75a6f16dbc4c5445f [diff] |
cxxmodules: Do not scan sources while testing the compiler The C++ sources we use to test the compiler do not use modules. Avoid requiring a compiler that can scan just to enable the language, even when CMP0155 is NEW. The project may explicitly turn off `CMAKE_CXX_SCAN_FOR_MODULES` before adding any targets. Fixes: #25956