CMake: Add "-4.0" and drop "lib" from pkg-config names

This commit is contained in:
Sebastian Pipping
2023-02-08 03:24:53 +01:00
committed by Kai Blaschke
parent a6b4771ad5
commit 0ef8e83cd9
2 changed files with 5 additions and 5 deletions

View File

@ -269,10 +269,10 @@ if(UNIX)
endforeach()
endif()
set(PKGCONFIG_PACKAGE_NAME "libprojectM")
set(PKGCONFIG_PACKAGE_NAME "projectM-4.0")
set(PKGCONFIG_PACKAGE_DESCRIPTION "projectM Music Visualizer")
set(PKGCONFIG_PACKAGE_REQUIREMENTS_ALL "opengl")
generate_pkg_config_files(projectM libprojectM)
generate_pkg_config_files(projectM projectM-4.0)
endif()

View File

@ -146,10 +146,10 @@ install(EXPORT libprojectMPlaylist
if(UNIX)
include(GeneratePkgConfigFiles)
set(PKGCONFIG_PACKAGE_NAME "libprojectM-playlist")
set(PKGCONFIG_PACKAGE_NAME "projectM-4.0-playlist")
set(PKGCONFIG_PACKAGE_DESCRIPTION "projectM Playlist Library")
set(PKGCONFIG_PACKAGE_REQUIREMENTS_RELEASE "libprojectM")
set(PKGCONFIG_PACKAGE_REQUIREMENTS_RELEASE "projectM-4.0")
set(PKGCONFIG_PACKAGE_REQUIREMENTS_DEBUG "libprojectM-debug")
generate_pkg_config_files(projectM_playlist libprojectM-playlist)
generate_pkg_config_files(projectM_playlist projectM-4.0-playlist)
endif()