This commit is contained in:
Adnn 2025-08-19 17:50:53 +07:00 committed by GitHub
commit 16c977e356
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -337,5 +337,9 @@ if (GLFW_INSTALL)
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
LIBRARY 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() endif()