Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup: install all header files
Browse files Browse the repository at this point in the history
milahu committed Jul 17, 2024
1 parent 5d2bbc0 commit 8bdb480
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -24,9 +24,8 @@ set(CXX_FLAGS
include_directories(${CMAKE_SOURCE_DIR}/src)
add_library(diskhash STATIC src/os_wrappers.c src/diskhash.c)

set_target_properties(diskhash PROPERTIES PUBLIC_HEADER
"src/diskhash.h;src/diskhash.hpp"
)
file(GLOB HDR_FILES ${CMAKE_SOURCE_DIR}/src/*.h*)
set_target_properties(diskhash PROPERTIES PUBLIC_HEADER ${HDR_FILES})

install(TARGETS diskhash
EXPORT diskhashTargets

0 comments on commit 8bdb480

Please sign in to comment.