mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 19:19:00 +08:00
2c356da170
* Updating SDL2 * Attempting to fix x64-linux downstream * Another attempt to fix finding ALSA that doesn't break everything * ANOTHER attempt to find ALSA properly for linux * This time trying to change sdlFindALSA * Attempting to use vcpkg version of ALSA * Actually adding alsa as a dependency * Another attempt, this time drawing from the inspiration of how libsamplerate is handled * Another attempt, this time drawing from the inspiration of how libsamplerate is handled * Trying a different change to sdlFindALSA * Another attempt * Trying to se if perhaps the SDL2Config script is problematic * Possible fix? * Again, trying to get linux to behave * A bit of cleanup of unnecessary cruft * Removing unnecessary feature
14 lines
402 B
Diff
14 lines
402 B
Diff
diff --git a/SDL2Config.cmake.in b/SDL2Config.cmake.in
|
|
index cc8bcf26d..ead829767 100644
|
|
--- a/SDL2Config.cmake.in
|
|
+++ b/SDL2Config.cmake.in
|
|
@@ -35,7 +35,7 @@ include("${CMAKE_CURRENT_LIST_DIR}/sdlfind.cmake")
|
|
|
|
set(SDL_ALSA @SDL_ALSA@)
|
|
set(SDL_ALSA_SHARED @SDL_ALSA_SHARED@)
|
|
-if(SDL_ALSA AND NOT SDL_ALSA_SHARED AND TARGET SDL2::SDL2-static)
|
|
+if(SDL_ALSA)
|
|
sdlFindALSA()
|
|
endif()
|
|
unset(SDL_ALSA)
|