0027053: Compilation fails with "fatal error RC1103: invalid option, /fp:precise"
authorabv <abv@opencascade.com>
Sun, 24 Jan 2016 06:28:08 +0000 (09:28 +0300)
committerabv <abv@opencascade.com>
Thu, 11 Feb 2016 21:06:43 +0000 (00:06 +0300)
commit100592c117d427bed7e719eb7ced0ea8973bb05d
tree9818e2403c892b8a827cf391702368cd1179a0bb
parentba3d7cdfbb34c42a74669431607a276cbe125dcd
0027053: Compilation fails with "fatal error RC1103: invalid option, /fp:precise"

CMake script is corrected to add compiler options (except macro definitions) to CMAKE_CXX_FLAGS and CMAKE_C_FLAGS variables directly, instead of using add_definitions() command.
This eliminates failure of build by NMake due to incorrect options passed to RC compiler.
adm/cmake/occt_defs_flags.cmake