Fix missing MinGW import library prefix

Fixes #657.
This commit is contained in:
Camilla Berglund 2015-12-12 18:07:05 +01:00
parent fdc65e49e4
commit eea46be4e6
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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")