Add CMake install target (#171)

This commit is contained in:
Jonas Vautherin 2020-10-01 14:45:41 +02:00 committed by GitHub
parent b62ec17fd2
commit 966c52fc78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View file

@ -115,3 +115,9 @@ ELSE()
add_library(lsquic STATIC ${lsquic_STAT_SRCS})
ENDIF()
install(TARGETS lsquic
EXPORT lsquic-targets
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)