From 0ef8e83cd9a1ec7fa4ac1a595bef903fd8385d3a Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 8 Feb 2023 03:24:53 +0100 Subject: [PATCH] CMake: Add "-4.0" and drop "lib" from pkg-config names --- src/libprojectM/CMakeLists.txt | 4 ++-- src/playlist/CMakeLists.txt | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/libprojectM/CMakeLists.txt b/src/libprojectM/CMakeLists.txt index bb00de22b..b899035db 100644 --- a/src/libprojectM/CMakeLists.txt +++ b/src/libprojectM/CMakeLists.txt @@ -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() diff --git a/src/playlist/CMakeLists.txt b/src/playlist/CMakeLists.txt index 893199140..eeefcfcf4 100644 --- a/src/playlist/CMakeLists.txt +++ b/src/playlist/CMakeLists.txt @@ -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()