From cfc23cd0879171c796b6ddff4ee178dd111a526c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Mon, 25 May 2020 22:23:22 +0200 Subject: [PATCH] Fix MinGW linker flag tests breaking later tests --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 80dbc13a..2462e9e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -128,6 +128,9 @@ if (MINGW) if (_GLFW_HAS_64ASLR) set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--high-entropy-va ${CMAKE_SHARED_LINKER_FLAGS}") endif() + + # Clear flags again to avoid breaking later tests + set(CMAKE_REQUIRED_FLAGS) endif() #--------------------------------------------------------------------