Commit 677be816 authored by Olivier Coulaud's avatar Olivier Coulaud

Add -ip flag for intel compilor

parent 8543d635
......@@ -18,6 +18,7 @@ project(scalfmm)
# Active language
# -----------------------
ENABLE_LANGUAGE(CXX )
MESSAGE(STATUS " CXX ${CMAKE_CXX_COMPILER_ID}" )
# Options
OPTION( SCALFMM_USE_BLAS "Set to ON to build ScaFMM with BLAS" ON )
......@@ -44,8 +45,12 @@ if( SCALFMM_BUILD_DEBUG )
ADD_DEFINITIONS(-O0)
else()
SET(CMAKE_BUILD_TYPE Release)
IF(CMAKE_CXX_COMPILER_ID STREQUAL "Intel")
ADD_DEFINITIONS(-ip)
ENDIF()
endif()
# starpu
if( SCALFMM_USE_STARPU )
# starpu
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment