From ac4e6d76b98bd8eda7e4c8e347ec7934c0cd07ee Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 8 Jun 2024 19:43:00 +0200 Subject: [PATCH] cmake: fixup headers and pc installation --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2c231d2..a3dffb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,7 +38,6 @@ target_include_directories( hyprutils set_target_properties(hyprutils PROPERTIES VERSION ${hyprutils_VERSION} SOVERSION 0 - PUBLIC_HEADER ${PUBLIC_HEADERS} ) # tests @@ -62,3 +61,4 @@ add_dependencies(tests hyprutils_signal) # Installation install(TARGETS hyprutils) install(DIRECTORY "include/hyprutils" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) +install(FILES ${CMAKE_BINARY_DIR}/hyprutils.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)