2022-08-05 10:18:37 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-02-09 05:45:58 +08:00
|
|
|
index 4ea903d..35be59d 100644
|
2022-08-05 10:18:37 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-02-09 05:45:58 +08:00
|
|
|
@@ -325,7 +325,7 @@ if(SDL2TTF_INSTALL)
|
2022-08-05 10:18:37 +08:00
|
|
|
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}")
|
2023-02-09 05:45:58 +08:00
|
|
|
@@ -353,7 +353,7 @@ if(SDL2TTF_INSTALL)
|
|
|
|
\"${CMAKE_CURRENT_BINARY_DIR}/SDL2_ttf.pc\")
|
2022-08-05 10:18:37 +08:00
|
|
|
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)))
|