mirror of
https://github.com/hyprwm/hyprutils.git
synced 2024-12-22 18:59:48 +01:00
cmake: fixup installation
This commit is contained in:
parent
5e6f63032a
commit
59000fadca
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue