mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:27:35 +00:00
Ports: Add SDL_sound
This commit is contained in:
parent
f573b7b47a
commit
6782cf5193
3 changed files with 32 additions and 0 deletions
14
Ports/SDL_sound/patches/fix_cmakelists.patch
Normal file
14
Ports/SDL_sound/patches/fix_cmakelists.patch
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- SDL_sound-main/CMakeLists.txt 2021-08-21 03:28:50.000000000 +0300
|
||||
+++ SDL_sound-main.serenity/CMakeLists.txt 2021-09-18 15:59:24.321216126 +0300
|
||||
@@ -29,7 +29,10 @@
|
||||
add_definitions(-xldscope=hidden)
|
||||
endif()
|
||||
|
||||
-find_package(SDL2 REQUIRED)
|
||||
+INCLUDE(FindPkgConfig)
|
||||
+
|
||||
+PKG_SEARCH_MODULE(SDL2 REQUIRED sdl2)
|
||||
+
|
||||
include_directories(${SDL2_INCLUDE_DIRS} ${SDL2_INCLUDE_DIR})
|
||||
if(WIN32)
|
||||
# -lmingw32: gcc adds it automatically.
|
Loading…
Add table
Add a link
Reference in a new issue