Skip to content

Commit 104a286

Browse files
committed
chore: Disable scan for C++ modules in CMake
It seems to break the wasi build in certain cases, so we'll disable it for now.
1 parent 13ebad7 commit 104a286

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ if(CMAKE_SYSTEM_NAME STREQUAL "WASI")
5353
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-exceptions")
5454
endif()
5555

56+
set(CMAKE_CXX_SCAN_FOR_MODULES OFF)
57+
5658
FetchContent_Declare(
5759
utfcpp
5860
URL https://github.com/nemtrif/utfcpp/archive/refs/tags/v4.0.5.tar.gz

0 commit comments

Comments
 (0)