Skip to content

Commit

Permalink
WIP: pkgconfig fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kblaschke committed Jan 30, 2024
1 parent accf1a3 commit c5854f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ message(STATUS " Build shared libraries: ${BUILD_SHARED_LIBS}")
message(STATUS " Threading: ${ENABLE_THREADING}")
if(ENABLE_BOOST_FILESYSTEM)
message(STATUS " Filesystem support: Boost")
message(STATUS " Boost version: ${Boost_VERSION}")
else()
message(STATUS " Filesystem support: C++17 STL")
endif()
Expand Down
4 changes: 4 additions & 0 deletions src/libprojectM/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ if(ENABLE_INSTALL)
if(UNIX)
include(GeneratePkgConfigFiles)

if(ENABLE_BOOST_FILESYSTEM)
set(PKGCONFIG_LIBS "${PKGCONFIG_LIBS} boost_filesystem")
endif()

set(PKGCONFIG_PACKAGE_NAME "${PROJECTM_LIBRARY_BASE_OUTPUT_NAME}")
set(PKGCONFIG_PACKAGE_DESCRIPTION "projectM Music Visualizer")
set(PKGCONFIG_PACKAGE_REQUIREMENTS_ALL "opengl")
Expand Down

0 comments on commit c5854f5

Please sign in to comment.