We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4f600b3 + 483b43c commit 9579960Copy full SHA for 9579960
1 file changed
CMakeLists.txt
@@ -129,8 +129,8 @@ endif()
129
if (CMAKE_CXX_COMPILER_ID STREQUAL "IntelLLVM")
130
# Intel CXX compiler based on clang defaults to -ffast-math, which
131
# breaks std::isinf(), std::isnan(), etc.
132
- set(CMAKE_C_FLAGS ${CMAKE_C_FLAGS} -fno-fast-math)
133
- set(CMAKE_CXX_FLAGS ${CMAKE_CXX_FLAGS} -fno-fast-math)
+ string(APPEND CMAKE_C_FLAGS " -fno-fast-math")
+ string(APPEND CMAKE_CXX_FLAGS " -fno-fast-math")
134
endif ()
135
136
# Add other supported compiler flags
0 commit comments