Skip to content

Commit

Permalink
[sdl2-gfx][sdl2-image][sdl2-mixer][sdl2-net][sdl2-ttf] Fix accidental…
Browse files Browse the repository at this point in the history
… link of release libs in debug mode.
  • Loading branch information
ras0219-msft committed Oct 20, 2017
1 parent b3172b1 commit deee8c1
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ports/sdl2-gfx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
project(SDL2_GFX C)

find_path(SDL_INCLUDE_DIR SDL2/SDL.h)
find_library(SDL_LIBRARY SDL2)
find_library(SDL_LIBRARY NAMES SDL2d SDL2)

# builtin formats
set(SDL_GFX_DEFINES WIN32)
Expand Down
2 changes: 1 addition & 1 deletion ports/sdl2-gfx/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: sdl2-gfx
Version: 1.0.3-2
Version: 1.0.3-3
Build-Depends: sdl2
Description: Graphics primitives (line, circle, rectangle etc.) with AA support, rotozoomer and other drawing related support functions wrapped up in a C based add-on library for the Simple Direct Media (SDL) cross-platform API layer.
2 changes: 1 addition & 1 deletion ports/sdl2-image/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion ports/sdl2-image/CONTROL
Original file line number Diff line number Diff line change
@@ -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

2 changes: 1 addition & 1 deletion ports/sdl2-mixer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
project(SDL2_MIXER C)

find_path(SDL_INCLUDE_DIR SDL.h PATH_SUFFIXES SDL2)
find_library(SDL_LIBRARY SDL2)
find_library(SDL_LIBRARY NAMES SDL2d SDL2)
set(SDL_MIXER_INCLUDES ${SDL_INCLUDE_DIR})
set(SDL_MIXER_LIBRARIES ${SDL_LIBRARY})

Expand Down
2 changes: 1 addition & 1 deletion ports/sdl2-mixer/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: sdl2-mixer
Version: 2.0.1-2
Version: 2.0.1-3
Description: Multi-channel audio mixer library for SDL.
Build-Depends: sdl2, libflac, smpeg2, libmodplug, libvorbis
2 changes: 1 addition & 1 deletion ports/sdl2-net/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ project(SDL2_NET C)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /wd4244 /wd4996")

find_path(SDL_INCLUDE_DIR SDL2/SDL.h)
find_library(SDL_LIBRARY SDL2)
find_library(SDL_LIBRARY NAMES SDL2d SDL2)

add_library(SDL2_net SDLnet.c SDLnetselect.c SDLnetTCP.c SDLnetUDP.c)

Expand Down
2 changes: 1 addition & 1 deletion ports/sdl2-net/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: sdl2-net
Version: 2.0.1-2
Version: 2.0.1-3
Description: Networking library for SDL
Build-Depends: sdl2
2 changes: 1 addition & 1 deletion ports/sdl2-ttf/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cmake_minimum_required(VERSION 3.0)
project(SDL2_TTF C)

find_path(SDL_INCLUDE_DIR SDL2/SDL.h)
find_library(SDL_LIBRARY SDL2)
find_library(SDL_LIBRARY NAMES SDL2d SDL2)
find_package(FreeType REQUIRED)

add_library(SDL2_ttf SDL_ttf.c)
Expand Down
2 changes: 1 addition & 1 deletion ports/sdl2-ttf/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: sdl2-ttf
Version: 2.0.14-2
Version: 2.0.14-3
Description: A library for rendering TrueType fonts with SDL
Build-Depends: sdl2, freetype

0 comments on commit deee8c1

Please sign in to comment.