Skip to content

Commit

Permalink
cmake: fixup installation
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jun 8, 2024
1 parent 5e6f630 commit 59000fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 59000fa

Please sign in to comment.