Fixing installation directory of '*.dll' files on Windows

This commit is contained in:
Tom de Geus 2019-11-29 14:56:51 +01:00
parent bb205d940d
commit d19919fb73
No known key found for this signature in database
GPG Key ID: C408E6AA1BBB61A1

View File

@ -252,6 +252,9 @@ if (FMT_INSTALL)
# Install the library and headers.
install(TARGETS ${INSTALL_TARGETS} EXPORT ${targets_export_name}
LIBRARY DESTINATION "lib"
ARCHIVE DESTINATION "lib"
RUNTIME DESTINATION "bin"
DESTINATION ${FMT_LIB_DIR})
install(FILES $<TARGET_PDB_FILE:${INSTALL_TARGETS}>