From 1d95552b0627c825190fef196d82144cb1ddd502 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Jun 2016 16:57:49 +0200 Subject: cmake/mingw-w64: fix override for all builds --- cmake/mingw-w64.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmake') 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() -- cgit v1.2.3