Skip to content

Commit

Permalink
fixup: install all header files
Browse files Browse the repository at this point in the history
  • Loading branch information
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
Expand Up @@ -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
Expand Down

0 comments on commit 8bdb480

Please sign in to comment.