MINGW-packages/mingw-w64-glfw/001-3.2-cmake-suffix.patch
2024-02-24 07:59:01 +01:00

18 lines
741 B
Diff

--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -299,12 +299,11 @@
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()
- set (GLFW_LIB_NAME_SUFFIX "dll")
target_compile_definitions(glfw INTERFACE GLFW_DLL)
endif()