aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorCharles Karney <charles@karney.com>2018-03-20 13:27:43 -0400
committerCharles Karney <charles@karney.com>2018-03-20 13:27:43 -0400
commit84bfebdf4096e462cca8e8c198a8c5849832b322 (patch)
tree717af4b61eb27701c9409f952620dcd175e027d9 /CMakeLists.txt
parentf8fbd18a3e297194aabce9b309a2e1bf1950bc58 (diff)
downloadPROJ-84bfebdf4096e462cca8e8c198a8c5849832b322.tar.gz
PROJ-84bfebdf4096e462cca8e8c198a8c5849832b322.zip
For the Intel compiler use "-fp-model precise" on all platforms.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8a60b540..02de6a81 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,7 +41,7 @@ if (CMAKE_C_COMPILER_ID STREQUAL "Intel")
if (MSVC)
set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /fp:precise")
else ()
- set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fprotect-parens -fsigned-zeros")
+ set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fp-model precise")
endif ()
endif ()