summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CXXModules/examples/library
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-09-28 01:57:54 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-10-02 14:17:31 (GMT)
commit437280b1273cf80287639ef4d6a0a9266e23c2b1 (patch)
tree0ece1c82ca8fe517f48e87e3e2f23f839ccd36ef /Tests/RunCMake/CXXModules/examples/library
parent3cddd116495a85ce86e1149c05ce9a2a701e0c8b (diff)
downloadCMake-437280b1273cf80287639ef4d6a0a9266e23c2b1.zip
CMake-437280b1273cf80287639ef4d6a0a9266e23c2b1.tar.gz
CMake-437280b1273cf80287639ef4d6a0a9266e23c2b1.tar.bz2
cxxmodules: scan C++ sources for imports by default
Existing projects are not using C++ modules in their sources, so introduce policy CMP0155 to enable scanning by default.
Diffstat (limited to 'Tests/RunCMake/CXXModules/examples/library')
-rw-r--r--Tests/RunCMake/CXXModules/examples/library/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CXXModules/examples/library/CMakeLists.txt b/Tests/RunCMake/CXXModules/examples/library/CMakeLists.txt
index 27fd94f..97d2325 100644
--- a/Tests/RunCMake/CXXModules/examples/library/CMakeLists.txt
+++ b/Tests/RunCMake/CXXModules/examples/library/CMakeLists.txt
@@ -1,4 +1,4 @@
-cmake_minimum_required(VERSION 3.24)
+cmake_minimum_required(VERSION 3.24...3.28)
project(cxx_modules_library CXX)
include("${CMAKE_SOURCE_DIR}/../cxx-modules-rules.cmake")