This commit is contained in:
Adnn 2025-01-19 07:30:20 +00:00 committed by GitHub
commit 30ce8893d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -359,5 +359,9 @@ if (GLFW_INSTALL)
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
# If a compilation .pdb file was produced, install it next to the library.
install(FILES "$<TARGET_FILE_DIR:glfw>/$<TARGET_FILE_BASE_NAME:glfw>.pdb"
DESTINATION "${CMAKE_INSTALL_LIBDIR}" OPTIONAL)
endif()