Install format.h to '<prefix>/include/cppformat'

not to '<prefix>/include'. Thanks to Eugene V. Lyubimkin for the patch.
This commit is contained in:
vitaut 2015-06-23 06:49:35 -07:00
parent b88a17ad9e
commit 958299dd7f

View File

@ -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)