Fix MinGW linker flag tests breaking later tests

(cherry picked from commit cfc23cd087)
This commit is contained in:
Camilla Löwy 2020-05-25 22:23:22 +02:00
parent 5dbca2e2c9
commit d7b67a2eb4

View File

@ -128,6 +128,9 @@ if (MINGW)
if (_GLFW_HAS_64ASLR) if (_GLFW_HAS_64ASLR)
set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--high-entropy-va ${CMAKE_SHARED_LINKER_FLAGS}") set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--high-entropy-va ${CMAKE_SHARED_LINKER_FLAGS}")
endif() endif()
# Clear flags again to avoid breaking later tests
set(CMAKE_REQUIRED_FLAGS)
endif() endif()
#-------------------------------------------------------------------- #--------------------------------------------------------------------