From 59000fadca271459d096a294ebd06b2d1857e002 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 8 Jun 2024 19:40:52 +0200 Subject: [PATCH] cmake: fixup installation --- CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fddeb62..2c231d2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,6 +28,7 @@ else() endif() file(GLOB_RECURSE SRCFILES CONFIGURE_DEPENDS "src/*.cpp" "include/*.hpp") +file(GLOB_RECURSE PUBLIC_HEADERS CONFIGURE_DEPENDS "include/*.hpp") add_library(hyprutils SHARED ${SRCFILES}) target_include_directories( hyprutils @@ -37,7 +38,7 @@ target_include_directories( hyprutils set_target_properties(hyprutils PROPERTIES VERSION ${hyprutils_VERSION} SOVERSION 0 - PUBLIC_HEADER include/hyprutils/hyprutils.hpp include/hyprutils/hyprutils.h include/hyprutils/shared.h + PUBLIC_HEADER ${PUBLIC_HEADERS} ) # tests