Skip to content

Commit

Permalink
build: Disable OpenAL on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jcm93 committed Jan 1, 2025
1 parent 8ed28a7 commit d6c9d61
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions ruby/cmake/os-windows.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ target_sources(

find_package(SDL)
find_package(librashader)
find_package(OpenAL)

target_enable_feature(ruby "Direct3D 9 video driver" VIDEO_DIRECT3D9)
target_enable_feature(ruby "OpenGL video driver" VIDEO_WGL)
Expand All @@ -44,10 +43,6 @@ if(SDL_FOUND)
target_enable_feature(ruby "SDL audio driver" AUDIO_SDL)
endif()

if(OpenAL_FOUND)
target_enable_feature(ruby "OpenAL audio driver" AUDIO_OPENAL)
endif()

if(librashader_FOUND AND ARES_ENABLE_LIBRASHADER)
target_enable_feature(ruby "librashader OpenGL runtime" LIBRA_RUNTIME_OPENGL)
else()
Expand All @@ -57,7 +52,6 @@ endif()
target_link_libraries(
ruby
PRIVATE
$<$<BOOL:${OpenAL_FOUND}>:OpenAL::OpenAL>
$<$<BOOL:TRUE>:librashader::librashader>
$<$<BOOL:${SDL_FOUND}>:SDL::SDL>
d3d9
Expand Down

0 comments on commit d6c9d61

Please sign in to comment.