18 lines
741 B
Diff
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()
|