mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 14:19:59 -05:00
Modules/Compiler/Clang: add a reason for non-libc++ compilations
See: #25965
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
function (_cmake_cxx_import_std std variable)
|
||||
if (NOT CMAKE_CXX_STANDARD_LIBRARY STREQUAL "libc++")
|
||||
set("${variable}"
|
||||
"set(CMAKE_CXX${std}_COMPILER_IMPORT_STD_NOT_FOUND_MESSAGE \"Only `libc++` is supported\")\n"
|
||||
PARENT_SCOPE)
|
||||
return ()
|
||||
endif ()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user