File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,12 +23,14 @@ if(ANDROID)
2323else ()
2424 add_executable (reminecraftpe ${SOURCES} )
2525endif ()
26+
2627# Core
2728target_link_libraries (reminecraftpe reminecraftpe-core )
2829
29- # stb_image
30- target_link_libraries (reminecraftpe stb_image )
31-
30+ # stb_image (If Needed)
31+ if (NOT EMSCRIPTEN)
32+ target_link_libraries (reminecraftpe stb_image )
33+ endif ()
3234
3335# SDL
3436add_library (SDL INTERFACE )
@@ -72,4 +74,4 @@ endif()
7274if (EMSCRIPTEN)
7375 # Export Resize Function
7476 target_link_options (reminecraftpe PRIVATE -sEXPORTED_FUNCTIONS=_main,_resize_from_js -sEXPORTED_RUNTIME_METHODS=ccall )
75- endif ()
77+ endif ()
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ project(reminecraftpe-directsound)
44# Build
55add_library (reminecraftpe-sound STATIC
66 SoundSystemDS.cpp
7+ SoundStreamDS.cpp
78)
89
910# Libraries
You can’t perform that action at this time.
0 commit comments