We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2dfca0 commit f38f209Copy full SHA for f38f209
CMakeLists.txt
@@ -192,7 +192,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
192
# Special case for SDL2 dependency, goal is to find a config that exports SDL2::SDL2 target
193
# libsdl2-dev has a `sdl2-config.cmake` that doesn't export this, but vcpkg does..
194
if(${CMAKE_SYSTEM_NAME} MATCHES "Emscripten")
195
- # /usr/lib/emscripten/emcmake cmake -S . -B _build_em
+ # emcmake cmake -S . -B _build_em
196
set(USE_FLAGS "-s USE_PTHREADS=1 -pthread")
197
set(USE_FLAGS "${USE_FLAGS} -s USE_SDL=2")
198
set(USE_FLAGS "${USE_FLAGS} -fwasm-exceptions")
0 commit comments