Skip to content

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cmake/compiler-flags.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ set(CMAKE_CXX_STANDARD 20)
44
set(CMAKE_CXX_STANDARD_REQUIRED ON)
55
set(CMAKE_CXX_EXTENSIONS OFF)
66

7+
# Workaround cmake-3.28 referencing (non-existant) `@foo.modmap`
8+
# in compilation commands.
9+
set(CMAKE_CXX_SCAN_FOR_MODULES NO)
10+
set(CMAKE_CXX_MODULE_MAP_FORMAT "")
11+
712
include(debug-info)
813

914
if(RAWSPEED_RELEASE_BUILD)

0 commit comments

Comments
 (0)