Skip to content

Commit

Permalink
add installation
Browse files Browse the repository at this point in the history
  • Loading branch information
fe-dagostino committed Sep 25, 2024
1 parent 0f3df82 commit 79668d8
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 @@ -108,6 +108,13 @@ target_include_directories( ${libname}${LIB_VERSION_A} INTERFACE
"${CMAKE_CURRENT_SOURCE_DIR}/include/devices"
)

include(GNUInstallDirs)
install( TARGETS ${libname}${LIB_VERSION_SO} ARCHIVE DESTINATION lib )
install( TARGETS ${libname}${LIB_VERSION_A} ARCHIVE DESTINATION lib )

install( FILES ${LIB_INCLUDE} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )


if ( CSV_BUILD_EXAMPLES )
add_subdirectory(examples)
endif()
Expand Down

0 comments on commit 79668d8

Please sign in to comment.