mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-07 05:46:42 +00:00
Tests/RunCMake: handle C++26 support where needed
(cherry picked from commit 2791b7564b (Tests/RunCMake: handle C++26
support where needed, 2024-12-31, v4.0.0-rc1~238^2~3))
This commit is contained in:
1 parent
7b16db932a
commit
acbada3df6
1 file changed
+1
@@ -6,6 +6,7 @@ cmake_minimum_required(VERSION 3.29)
|
||||
if (EXPORT_NO_STD)
|
||||
# Block making C++ `import std` targets.
|
||||
add_library(__CMAKE::CXX23 IMPORTED INTERFACE)
|
||||
add_library(__CMAKE::CXX26 IMPORTED INTERFACE)
|
||||
endif ()
|
||||
|
||||
project(cxx_modules_import_std_transitive CXX)
|
||||
|
||||
Reference in new issue
Block a user