diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2024-05-02 03:06:20 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2024-05-02 18:46:51 (GMT) |
commit | 6dad18f0605cd49ddb1283c08fc83e706644dc52 (patch) | |
tree | a90fd9ba4abbe5accb43a70e02c41fb7a47df87c /Tests | |
parent | de9faaf0a318d05b694d0edebedfab84e820fe51 (diff) | |
download | CMake-6dad18f0605cd49ddb1283c08fc83e706644dc52.zip CMake-6dad18f0605cd49ddb1283c08fc83e706644dc52.tar.gz CMake-6dad18f0605cd49ddb1283c08fc83e706644dc52.tar.bz2 |
cxxmodules: give a reason for unavailability of `import std`
If the `CMAKE_CXX<STANDARD>_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE`
variable is set, include its value in the error message.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CXXModules/NoCXX23TargetRequired-stderr.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Tests/RunCMake/CXXModules/NoCXX23TargetRequired-stderr.txt b/Tests/RunCMake/CXXModules/NoCXX23TargetRequired-stderr.txt index 56468d0..e3d31c5 100644 --- a/Tests/RunCMake/CXXModules/NoCXX23TargetRequired-stderr.txt +++ b/Tests/RunCMake/CXXModules/NoCXX23TargetRequired-stderr.txt @@ -1,4 +1,9 @@ CMake Error in CMakeLists.txt: The "CXX_MODULE_STD" property on the target "nocxx23target" requires that the "__CMAKE::CXX23" target exist, but it was not provided by the - toolchain. + toolchain. Reason: + + (Toolchain does not support discovering `import std` support|Experimental `import std` support not enabled when detecting toolchain|Unsupported generator: [^\n]*) + + +CMake Generate step failed. Build files cannot be regenerated correctly. |