diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2024-05-14 20:03:16 (GMT) |
---|---|---|
committer | Ben Boeckel <ben.boeckel@kitware.com> | 2024-05-15 11:15:05 (GMT) |
commit | a46395df06a87f10aae22706543b1899bd314dba (patch) | |
tree | a227d337bcb8676bf15ddb715f65f2b3fae92303 /Modules/Compiler | |
parent | 5d658ebcc6df9f7de3c9ef9f3723d5cb726ba431 (diff) | |
download | CMake-a46395df06a87f10aae22706543b1899bd314dba.zip CMake-a46395df06a87f10aae22706543b1899bd314dba.tar.gz CMake-a46395df06a87f10aae22706543b1899bd314dba.tar.bz2 |
importstd: clarify when the experimental UUID must be available
Fixes: #25980
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/CMakeCommonCompilerMacros.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Compiler/CMakeCommonCompilerMacros.cmake b/Modules/Compiler/CMakeCommonCompilerMacros.cmake index 75a9da2..ffd02ec 100644 --- a/Modules/Compiler/CMakeCommonCompilerMacros.cmake +++ b/Modules/Compiler/CMakeCommonCompilerMacros.cmake @@ -250,7 +250,7 @@ function(cmake_create_cxx_import_std std variable) _cmake_supported_import_std_experimental) if (NOT _cmake_supported_import_std_experimental) set("${variable}" - "set(CMAKE_CXX${std}_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE \"Experimental `import std` support not enabled when detecting toolchain\")\n" + "set(CMAKE_CXX${std}_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE \"Experimental `import std` support not enabled when detecting toolchain; it must be set before `CXX` is enabled (usually a `project()` call)\")\n" PARENT_SCOPE) return () endif () |