diff options
| author | Antonio Maiorano <amaiorano@gmail.com> | 2019-05-01 16:36:57 -0400 |
|---|---|---|
| committer | Curtis J Bezault <curtbezault@gmail.com> | 2019-05-01 13:36:57 -0700 |
| commit | df753fbcf502574e182e302607d5db0fe9188cfd (patch) | |
| tree | 05070df9d343992718f80836638b42b7a1b2dc11 /ports/sdl2-mixer | |
| parent | 3468013fcd4014ab7a40b2b5355e86cbe4cbcf07 (diff) | |
| download | vcpkg-df753fbcf502574e182e302607d5db0fe9188cfd.tar.gz vcpkg-df753fbcf502574e182e302607d5db0fe9188cfd.zip | |
Fix sdl2-gfx, sdl2-image, sdl2-mixer, sdl2-net, and sdl2-ttf forcing debug lib first (SDL2d) (#5948)
Prevent SDL2 dependent libraries from always linking against debug.
Diffstat (limited to 'ports/sdl2-mixer')
| -rw-r--r-- | ports/sdl2-mixer/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | ports/sdl2-mixer/CONTROL | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/ports/sdl2-mixer/CMakeLists.txt b/ports/sdl2-mixer/CMakeLists.txt index b38847fbb..f9912346c 100644 --- a/ports/sdl2-mixer/CMakeLists.txt +++ b/ports/sdl2-mixer/CMakeLists.txt @@ -2,9 +2,10 @@ cmake_minimum_required(VERSION 3.1) project(SDL2_MIXER C) find_path(SDL_INCLUDE_DIR SDL.h PATH_SUFFIXES SDL2) -find_library(SDL_LIBRARY NAMES SDL2d SDL2) +find_package(SDL2 CONFIG REQUIRED) set(SDL_MIXER_INCLUDES ${SDL_INCLUDE_DIR}) -set(SDL_MIXER_LIBRARIES ${SDL_LIBRARY}) + +set(SDL_MIXER_LIBRARIES SDL2::SDL2) # builtin formats set(SDL_MIXER_DEFINES MUSIC_WAV) diff --git a/ports/sdl2-mixer/CONTROL b/ports/sdl2-mixer/CONTROL index 206e922a6..4c55575f4 100644 --- a/ports/sdl2-mixer/CONTROL +++ b/ports/sdl2-mixer/CONTROL @@ -1,5 +1,5 @@ Source: sdl2-mixer -Version: 2.0.4-1 +Version: 2.0.4-2 Description: Multi-channel audio mixer library for SDL. Build-Depends: sdl2 |
