Skip to content

Commit

Permalink
cmake/mingw-w64: fix override for all builds
Browse files Browse the repository at this point in the history
  • Loading branch information
sthalik committed Jun 27, 2016
1 parent 7802597 commit 1d95552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/mingw-w64.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 1d95552

Please sign in to comment.