Add an install command to the cmake file (to allow make install)

This commit is contained in:
Trent Houliston 2015-02-24 17:31:30 +11:00
parent de92f5d8a7
commit 4da1fa391e

View File

@ -160,3 +160,7 @@ if (EXISTS .gitignore)
set(CPACK_RESOURCE_FILE_README ${FORMAT_SOURCE_DIR}/README.rst)
include(CPack)
endif ()
# Install our targets
install(TARGETS format DESTINATION lib)
install(FILES format.h DESTINATION include)