Skip to content

Commit

Permalink
Add simple install rules to CMakeLists.txt
Browse files Browse the repository at this point in the history
To install header and library files.
  • Loading branch information
rmisev committed Sep 24, 2023
1 parent 60b8d20 commit a02b41f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,17 @@ if (URL_BUILD_TOOLS)
set_property(TARGET dumpCharBitSets PROPERTY CXX_STANDARD 17)
target_include_directories(dumpCharBitSets PRIVATE include)
endif()

# Install

include(GNUInstallDirs)

install(
DIRECTORY include/upa
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)

install(
TARGETS upaurl
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)

0 comments on commit a02b41f

Please sign in to comment.