mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
[sdl2-gfx][sdl2-image][sdl2-mixer][sdl2-net][sdl2-ttf] Fix accidental link of release libs in debug mode.
This commit is contained in:
parent
b3172b1784
commit
deee8c1743
@ -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)
|
||||
|
@ -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.
|
||||
|
@ -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)
|
||||
|
@ -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,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})
|
||||
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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,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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user