Commit e8dab396 authored by Camilla Löwy's avatar Camilla Löwy
Browse files

Fix use of CMake 3.13 command target_link_options

(cherry picked from commit a5ed740d9d97580e162e07cbd36648969c61688b)
parent 9724f330
......@@ -139,7 +139,7 @@ if (BUILD_SHARED_LIBS)
if (MINGW)
# Remove the dependency on the shared version of libgcc
# NOTE: MinGW-w64 has the correct default but MinGW needs this
target_link_options(glfw PRIVATE "-static-libgcc")
target_link_libraries(glfw PRIVATE "-static-libgcc")
# Remove the lib prefix on the DLL (but not the import library)
set_target_properties(glfw PROPERTIES PREFIX "")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment