Skip to content

Commit 30cfdc2

Browse files
committed
enable openal compilation (still no native lib build)
1 parent 0ae739d commit 30cfdc2

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,6 @@
88
[submodule "libjpeg-turbo"]
99
path = libjpeg-turbo
1010
url = https://github.com/openstf/android-libjpeg-turbo.git
11+
[submodule "openal-soft"]
12+
path = openal-soft
13+
url = https://github.com/kcat/openal-soft.git

CMakeLists.txt

+3-5
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,9 @@ target_link_libraries(sdl.hdll SDL2 EGL GLESv3)
7272

7373
# OpenAL
7474

75-
#add_subdirectory(openal)
76-
#file(GLOB openal hashlink/libs/openal/*.c)
77-
#add_library(openal.hdll STATIC ${openal})
78-
#target_include_directories(openal.hdll PUBLIC openal/include)
79-
#target_link_libraries(openal.hdll OpenAL)
75+
file(GLOB openal hashlink/libs/openal/*.c)
76+
add_library(openal.hdll STATIC ${openal})
77+
target_include_directories(openal.hdll PUBLIC openal-soft/include)
8078

8179
# UI
8280

openal-soft

Submodule openal-soft added at db65113

0 commit comments

Comments
 (0)