mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 18:28:20 +00:00
Add an install command to the cmake file (to allow make install)
This commit is contained in:
parent
de92f5d8a7
commit
4da1fa391e
@ -160,3 +160,7 @@ if (EXISTS .gitignore)
|
|||||||
set(CPACK_RESOURCE_FILE_README ${FORMAT_SOURCE_DIR}/README.rst)
|
set(CPACK_RESOURCE_FILE_README ${FORMAT_SOURCE_DIR}/README.rst)
|
||||||
include(CPack)
|
include(CPack)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
# Install our targets
|
||||||
|
install(TARGETS format DESTINATION lib)
|
||||||
|
install(FILES format.h DESTINATION include)
|
||||||
|
Loading…
Reference in New Issue
Block a user