simh-testsetgenerator/cmake/patches/SDL_ttf/fix-pkgconfig.patch
B. Scott Michel 8b14bb69be
CMake build infrastructure II (#53)
* CMake build infrastructure

The squashed commit that builds and packages releases for the SIMH
simulator suite with CMake, version 3.14 or newer.

See README-CMake.md for documentation.
2023-05-17 20:18:42 -04:00

22 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)))