Skip to content

Commit 98a5490

Browse files
committed
..
1 parent 6487135 commit 98a5490

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ cmake_minimum_required(VERSION 3.22)
66
# src/CMakeLists.template.cmake
77
cmake_policy(VERSION 3.22...3.31)
88

9+
# We aren't using C++20 modules, so disable scanning for them to avoid
10+
# clang-scan-deps-notfound errors.
11+
# See also https://discourse.cmake.org/t/cmake-3-28-cmake-cxx-compiler-clang-scan-deps-notfound-not-found/9244/3
12+
set(CMAKE_CXX_SCAN_FOR_MODULES OFF)
13+
914
project(amici)
1015

1116
# misc options

0 commit comments

Comments
 (0)