mirror of
https://github.com/fmtlib/fmt.git
synced 2025-07-30 02:37:36 +02:00
Add an install command to the cmake file (to allow make install)
This commit is contained in:
@ -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)
|
||||||
|
Reference in New Issue
Block a user