# This is redundant (already in -03):
set(optCFLAGS "${optCFLAGS} -finline-functions ")
endif()
-if (CMAKE_C_COMPILER_ID MATCHES "Intel")
- # honor parentheses when determining the order of expression evaluation.
- set(optCFLAGS "${optCFLAGS} -fprotect-parens ")
-endif()
# Do not leak the current directory into the binaries
if(CMAKE_COMPILER_IS_GNUCC)
endforeach()
endif()
+if (CMAKE_C_COMPILER_ID MATCHES "Intel")
+ # honor parentheses when determining the order of expression evaluation.
+ set(optCFLAGS "${optCFLAGS} -fprotect-parens ")
+endif()
+
if(NOT enable_debug)
set(CMAKE_C_FLAGS "-DNDEBUG ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "-DNDEBUG ${CMAKE_CXX_FLAGS}")