vcpkg/ports/sdl2-ttf/fix-pkgconfig.patch
Pierre Wendling 8963164ada
[sdl2-ttf] Bump to 2.20.2 (#29488)
* [sdl2-ttf] Bump to version 2.20.2

* [sdl2-ttf] Update baseline

* [sdl2-ttf] Apply suggestions from review.
2023-02-08 13:45:58 -08:00

23 lines
834 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4ea903d..35be59d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -325,7 +325,7 @@ if(SDL2TTF_INSTALL)
COMPONENT devel
)
- if(SDL2TTF_BUILD_SHARED_LIBS)
+ if(1)
# Only create a .pc file for a shared SDL2_ttf
set(prefix "${CMAKE_INSTALL_PREFIX}")
set(exec_prefix "\${prefix}")
@@ -353,7 +353,7 @@ if(SDL2TTF_INSTALL)
\"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc\")
file(INSTALL DESTINATION \"\${CMAKE_INSTALL_PREFIX}/${PC_DESTDIR}\"
TYPE FILE
- FILES \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc\")" CONFIG Release)
+ FILES \"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc\")")
endif()
if(SDL2TTF_BUILD_SHARED_LIBS AND (APPLE OR (UNIX AND NOT ANDROID)))