From eea46be4e6d9ab170acfe2b7deec9b9b15091ff1 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Sat, 12 Dec 2015 18:07:05 +0100 Subject: [PATCH] Fix missing MinGW import library prefix Fixes #657. --- README.md | 1 + src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1e99e990..b6cd473b 100644 --- a/README.md +++ b/README.md @@ -77,6 +77,7 @@ used by the tests and examples and are not required to build the library. - [Win32] Added support for Windows 8.1 per-monitor DPI - [Win32] Bugfix: Window creation would segfault if video mode setting required the system to be restarted + - [Win32] Bugfix: MinGW import library lacked the `lib` prefix - [Cocoa] Removed support for OS X 10.6 - [Cocoa] Bugfix: Full screen windows on secondary monitors were mispositioned - [X11] Bugfix: Monitor connection and disconnection events were not reported diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 77a8501f..b574c8f3 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -68,7 +68,7 @@ set_target_properties(glfw PROPERTIES if (BUILD_SHARED_LIBS) if (WIN32) # The GLFW DLL needs a special compile-time macro and import library name - set_target_properties(glfw PROPERTIES PREFIX "" IMPORT_PREFIX "") + set_target_properties(glfw PROPERTIES PREFIX "") if (MINGW) set_target_properties(glfw PROPERTIES IMPORT_SUFFIX "dll.a")