Skip to content

Commit

Permalink
update ffp-model flag for new intel compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
acavelan committed Jul 24, 2024
1 parent 4678bbd commit 8ab15e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ if (NOT MSVC)
endif (NOT MSVC)

if (CMAKE_CXX_COMPILER_ID MATCHES "Intel")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fp-model source")
set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fp-model strict")
endif (CMAKE_CXX_COMPILER_ID MATCHES "Intel")

# Statically link libgcc; isn't going to work when other C++ libraries are dynamically linked
Expand Down

0 comments on commit 8ab15e5

Please sign in to comment.