summaryrefslogtreecommitdiffhomepage
path: root/cmake/mingw-w64.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-06-27 16:57:49 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-06-27 16:57:49 +0200
commit1d95552b0627c825190fef196d82144cb1ddd502 (patch)
tree5e25c73f7437b007aa2bf25bf73d8bc80ce43a69 /cmake/mingw-w64.cmake
parent7802597653267fd5e86b563e0e98d53769a04cc1 (diff)
cmake/mingw-w64: fix override for all buildsopentrack-2.3-rc49p7
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()