Skip to content

Commit

Permalink
Merge pull request #5 from dorian-K/master
Browse files Browse the repository at this point in the history
Add install target
  • Loading branch information
ZeroMemes authored Aug 29, 2023
2 parents 0cec232 + 01a2a37 commit 49c8be2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,10 @@ add_library(libhat STATIC ${LIBHAT_SRC})
target_include_directories(libhat PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include/>
$<INSTALL_INTERFACE:include>)

install(TARGETS libhat
EXPORT libhat-targets
RUNTIME DESTINATION "bin"
ARCHIVE DESTINATION "lib"
LIBRARY DESTINATION "lib"
)

0 comments on commit 49c8be2

Please sign in to comment.