mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 15:21:54 +00:00
Make library install dir configurable via FMT_LIB_DIR CMake var
This commit is contained in:
parent
f35a220536
commit
c3ebcce89d
@ -186,6 +186,8 @@ if (EXISTS .gitignore)
|
||||
include(CPack)
|
||||
endif ()
|
||||
|
||||
# Install our targets
|
||||
install(TARGETS format DESTINATION lib)
|
||||
# Install targets.
|
||||
set(FMT_LIB_DIR lib CACHE STRING
|
||||
"Installation directory for libraries, relative to ${CMAKE_INSTALL_PREFIX}.")
|
||||
install(TARGETS format DESTINATION ${FMT_LIB_DIR})
|
||||
install(FILES format.h DESTINATION include)
|
||||
|
Loading…
Reference in New Issue
Block a user