mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 04:54:35 +00:00
If a compilation pdb file is present next to the library, install it.
This commit is contained in:
parent
dd8a678a66
commit
5baec224c5
@ -396,5 +396,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()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user