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
+1 -1
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")