cmake: fixup headers and pc installation

This commit is contained in:
Vaxry 2024-06-08 19:43:00 +02:00
parent 59000fadca
commit ac4e6d76b9
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,6 @@ target_include_directories( hyprutils
set_target_properties(hyprutils PROPERTIES set_target_properties(hyprutils PROPERTIES
VERSION ${hyprutils_VERSION} VERSION ${hyprutils_VERSION}
SOVERSION 0 SOVERSION 0
PUBLIC_HEADER ${PUBLIC_HEADERS}
) )
# tests # tests
@ -62,3 +61,4 @@ add_dependencies(tests hyprutils_signal)
# Installation # Installation
install(TARGETS hyprutils) install(TARGETS hyprutils)
install(DIRECTORY "include/hyprutils" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) install(DIRECTORY "include/hyprutils" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
install(FILES ${CMAKE_BINARY_DIR}/hyprutils.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)