mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 20:22:15 +00:00
Applied patches from MSYS2 distro
For more info see:
bbba91bfc5/mingw-w64-glfw
This commit is contained in:
parent
33cd8b865d
commit
61655d2bc8
@ -196,10 +196,10 @@ if (BUILD_SHARED_LIBS)
|
||||
set_target_properties(glfw PROPERTIES PREFIX "")
|
||||
|
||||
# Add a suffix to the import library to avoid naming conflicts
|
||||
set_target_properties(glfw PROPERTIES IMPORT_SUFFIX "dll.a")
|
||||
set_target_properties(glfw PROPERTIES IMPORT_SUFFIX ".dll.a")
|
||||
else()
|
||||
# Add a suffix to the import library to avoid naming conflicts
|
||||
set_target_properties(glfw PROPERTIES IMPORT_SUFFIX "dll.lib")
|
||||
set_target_properties(glfw PROPERTIES IMPORT_SUFFIX ".dll.lib")
|
||||
endif()
|
||||
|
||||
target_compile_definitions(glfw INTERFACE GLFW_DLL)
|
||||
@ -243,7 +243,7 @@ endif()
|
||||
if (GLFW_INSTALL)
|
||||
install(TARGETS glfw
|
||||
EXPORT glfwTargets
|
||||
RUNTIME DESTINATION "bin"
|
||||
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
|
||||
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
|
||||
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}")
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user