Merge pull request #83 from arteniioleg/master

install library and headers
This commit is contained in:
Martin Raiber 2017-11-30 12:52:09 +01:00 committed by GitHub
commit b01930542e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,3 +38,10 @@ endif()
# add_executable(miniz_tester ${MINIZ_TESTER_SRC_LIST})
# target_link_libraries(miniz_tester miniz)
install(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}Targets
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib
)
file(GLOB INSTALL_HEADERS ${CMAKE_CURRENT_SOURCE_DIR}/*.h)
install(FILES ${INSTALL_HEADERS} DESTINATION include/${PROJECT_NAME})