Install format.h to '<prefix>/include/cppformat'
not to '<prefix>/include'. Thanks to Eugene V. Lyubimkin for the patch.
This commit is contained in:
parent
b88a17ad9e
commit
958299dd7f
@ -207,4 +207,4 @@ endif ()
|
||||
set(FMT_LIB_DIR lib CACHE STRING
|
||||
"Installation directory for libraries, relative to ${CMAKE_INSTALL_PREFIX}.")
|
||||
install(TARGETS cppformat DESTINATION ${FMT_LIB_DIR})
|
||||
install(FILES format.h DESTINATION include)
|
||||
install(FILES format.h DESTINATION include/cppformat)
|
||||
|
Loading…
Reference in New Issue
Block a user