Skip to content

Commit daec16c

Browse files
committed
..
1 parent 6487135 commit daec16c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ endif()
4141
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
4242
set(CMAKE_CXX_STANDARD 20)
4343
set(CMAKE_CXX_STANDARD_REQUIRED ON)
44+
# We aren't using C++20 modules, so disable scanning for them to avoid
45+
# clang-scan-deps-notfound errors.
46+
# See also https://discourse.cmake.org/t/cmake-3-28-cmake-cxx-compiler-clang-scan-deps-notfound-not-found/9244/3
47+
set(CMAKE_CXX_SCAN_FOR_MODULES 0)
4448

4549
# Compiler flags
4650
include(CheckCXXCompilerFlag)

0 commit comments

Comments
 (0)