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