aboutsummaryrefslogtreecommitdiff
path: root/ports/sdl2-image
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2017-10-19 19:24:49 -0700
committerRobert Schumacher <roschuma@microsoft.com>2017-10-19 19:24:49 -0700
commitdeee8c1743af2d851d48d42b7ac91558c8fefb5a (patch)
treee73db0d4cc152de8e7e2cc84928c1e9a6cb03f1e /ports/sdl2-image
parentb3172b1784ed15d4c310793474e285222fc669a4 (diff)
downloadvcpkg-deee8c1743af2d851d48d42b7ac91558c8fefb5a.tar.gz
vcpkg-deee8c1743af2d851d48d42b7ac91558c8fefb5a.zip
[sdl2-gfx][sdl2-image][sdl2-mixer][sdl2-net][sdl2-ttf] Fix accidental link of release libs in debug mode.
Diffstat (limited to 'ports/sdl2-image')
-rw-r--r--ports/sdl2-image/CMakeLists.txt2
-rw-r--r--ports/sdl2-image/CONTROL2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/sdl2-image/CMakeLists.txt b/ports/sdl2-image/CMakeLists.txt
index 8b5f7131f..d04b3f7b6 100644
--- a/ports/sdl2-image/CMakeLists.txt
+++ b/ports/sdl2-image/CMakeLists.txt
@@ -51,7 +51,7 @@ endforeach(FORMAT)
# SDL
find_path(SDL_INCLUDE_DIR SDL2/SDL.h)
-find_library(SDL_LIBRARY SDL2)
+find_library(SDL_LIBRARY NAMES SDL2d SDL2)
include_directories(${SDL_INCLUDE_DIR})
include_directories(${SDL_INCLUDE_DIR}/SDL2)
diff --git a/ports/sdl2-image/CONTROL b/ports/sdl2-image/CONTROL
index a5c41a334..aff048d9a 100644
--- a/ports/sdl2-image/CONTROL
+++ b/ports/sdl2-image/CONTROL
@@ -1,5 +1,5 @@
Source: sdl2-image
-Version: 2.0.1-2
+Version: 2.0.1-3
Build-Depends: sdl2, libpng, libjpeg-turbo, tiff, libwebp
Description: SDL_image is an image file loading library. It loads images as SDL surfaces and textures, and supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, WEBP, XCF, XPM, XV