summaryrefslogtreecommitdiffhomepage
path: root/cmake/mingw-w64.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/mingw-w64.cmake')
-rw-r--r--cmake/mingw-w64.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/mingw-w64.cmake b/cmake/mingw-w64.cmake
index 3b6cd09d..b11a24c6 100644
--- a/cmake/mingw-w64.cmake
+++ b/cmake/mingw-w64.cmake
@@ -88,7 +88,7 @@ if(WARNINGS_ENABLE)
endif()
foreach(j C CXX)
- foreach(i _DEBUG _RELEASE)
+ foreach(i "" _DEBUG _RELEASE)
set(OVERRIDE_${j}_FLAGS${i} "" CACHE STRING "")
set(CMAKE_${j}_FLAGS${i} "${_${j}FLAGS${i}} ${OVERRIDE_${j}_FLAGS${i}}" CACHE STRING "" FORCE)
endforeach()