mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-10 15:50:50 -06:00
Tests/RunCMake: handle C++26 support where needed
This commit is contained in:
@@ -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