Skip to content

Commit c26ca1f

Browse files
committed
16th attempt to fix GH Actions building
1 parent bdcda68 commit c26ca1f

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

platforms/sdl/CMakeLists.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ if(ANDROID)
2323
else()
2424
add_executable(reminecraftpe ${SOURCES})
2525
endif()
26+
2627
# Core
2728
target_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
3436
add_library(SDL INTERFACE)
@@ -72,4 +74,4 @@ endif()
7274
if(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()

platforms/sound/directsound/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ project(reminecraftpe-directsound)
44
# Build
55
add_library(reminecraftpe-sound STATIC
66
SoundSystemDS.cpp
7+
SoundStreamDS.cpp
78
)
89

910
# Libraries

0 commit comments

Comments
 (0)