mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Fix use of CMake 3.13 command target_link_options
(cherry picked from commit a5ed740d9d
)
This commit is contained in:
parent
9724f33038
commit
e8dab39625
@ -139,7 +139,7 @@ if (BUILD_SHARED_LIBS)
|
|||||||
if (MINGW)
|
if (MINGW)
|
||||||
# Remove the dependency on the shared version of libgcc
|
# Remove the dependency on the shared version of libgcc
|
||||||
# NOTE: MinGW-w64 has the correct default but MinGW needs this
|
# 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)
|
# Remove the lib prefix on the DLL (but not the import library)
|
||||||
set_target_properties(glfw PROPERTIES PREFIX "")
|
set_target_properties(glfw PROPERTIES PREFIX "")
|
||||||
|
Loading…
Reference in New Issue
Block a user