The fp-model flags required for ICC to run with fp-assertions
were not correctly appended. The forwarding of build configuration
specific flags was not working. The RelWithAssert for ICC flags
were the only such flags.
Change-Id: I138fd82eb758157f47ff5186a040afb9e4a2d956
# inconvenient in CMake to pass more than one list, and such a
# list is only used here.
foreach(build_type RELWITHDEBINFO RELWITHASSERT MINSIZEREL PROFILE)
- set(GMXC_${language}FLAGS_${build_type} "${GMXC_${language}FLAGS_RELEASE}")
+ set(GMXC_${language}FLAGS_${build_type} "${GMXC_${language}FLAGS_RELEASE} ${GMXC_${language}FLAGS_${build_type}}")
endforeach()
# Copy the flags that are only used by the real Release build
# type. Used for, e.g., -Wno-array-bounds in Release to work around