Skip to content

Commit 9cb1942

Browse files
committed
Remove '-s SIDE_MODULE' compile flag
1 parent b4e747d commit 9cb1942

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CMakeLists.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ target_sources(DxLib
6969

7070
set_target_properties(DxLib
7171
PROPERTIES
72-
COMPILE_FLAGS "-s USE_FREETYPE=1 -s SIDE_MODULE=1 -s ALLOW_MEMORY_GROWTH=1"
72+
COMPILE_FLAGS "-s USE_FREETYPE=1 -s ALLOW_MEMORY_GROWTH=1"
7373
CXX_STANDARD 11
7474
)
7575

@@ -91,7 +91,7 @@ target_sources(DxDrawFunc
9191

9292
set_target_properties(DxDrawFunc
9393
PROPERTIES
94-
COMPILE_FLAGS "-s SIDE_MODULE=1 -s ALLOW_MEMORY_GROWTH=1"
94+
COMPILE_FLAGS "-s ALLOW_MEMORY_GROWTH=1"
9595
CXX_STANDARD 11
9696
)
9797

@@ -115,7 +115,7 @@ target_sources(DxUseCLib
115115

116116
set_target_properties(DxUseCLib
117117
PROPERTIES
118-
COMPILE_FLAGS "-s USE_OGG=1 -s USE_VORBIS=1 -s USE_LIBPNG=1 -s USE_LIBJPEG=1 -s USE_ZLIB=1 -s USE_BULLET=1 -s SIDE_MODULE=1 -s ALLOW_MEMORY_GROWTH=1"
118+
COMPILE_FLAGS "-s USE_OGG=1 -s USE_VORBIS=1 -s USE_LIBPNG=1 -s USE_LIBJPEG=1 -s USE_ZLIB=1 -s USE_BULLET=1 -s ALLOW_MEMORY_GROWTH=1"
119119
CXX_STANDARD 11
120120
)
121121

0 commit comments

Comments
 (0)