1
0
Fork 0

Fix #13359: [CMake] Only search for Xaudio2 on Windows (#13372)

pull/13400/head
Charles Pigott 2025-01-27 20:24:57 +00:00 committed by GitHub
parent 119470f43e
commit 98d5dde094
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -139,7 +139,9 @@ if(NOT EMSCRIPTEN)
endif()
if(NOT OPTION_DEDICATED)
if(NOT WIN32)
if(WIN32)
find_package(Xaudio2)
else()
find_package(Allegro)
if(NOT APPLE)
find_package(Freetype)
@ -174,7 +176,6 @@ if(MSVC)
endif()
find_package(SSE)
find_package(Xaudio2)
find_package(Grfcodec)