Updating CMAKE_CXX_FLAGS_RELEASE (with CACHE FORCE) forces
to re-initialize it each time with a new value taken from cache.
In my project , it leads to CMAKE_CXX_FLAGS_RELEASE like this /MD /O2
/Ob2 /DNDEBUG /sdl /guard:cf /wd4996 /wd4146 /wd4703 /wd4996 /wd4146
/wd4703 /wd4996 /wd4146 /wd4703 /wd4996 /wd4146 /wd4703 repeating flags
again.
The consequences of this is that the project has to be rebuilt from
scratch every time you call cmake configure.