Skip to content

Commit f38f209

Browse files
committed
cmake: assume emcmake in path when using emsdk
1 parent d2dfca0 commit f38f209

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
192192
# Special case for SDL2 dependency, goal is to find a config that exports SDL2::SDL2 target
193193
# libsdl2-dev has a `sdl2-config.cmake` that doesn't export this, but vcpkg does..
194194
if(${CMAKE_SYSTEM_NAME} MATCHES "Emscripten")
195-
# /usr/lib/emscripten/emcmake cmake -S . -B _build_em
195+
# emcmake cmake -S . -B _build_em
196196
set(USE_FLAGS "-s USE_PTHREADS=1 -pthread")
197197
set(USE_FLAGS "${USE_FLAGS} -s USE_SDL=2")
198198
set(USE_FLAGS "${USE_FLAGS} -fwasm-exceptions")

0 commit comments

Comments
 (0)