Commit c1e4933c authored by PIACIBELLO Cyrille's avatar PIACIBELLO Cyrille

CMakeLists modified for SSE, seems to work for AVX

parent 94224d3b
......@@ -226,7 +226,7 @@ if( ScalFMM_USE_SSE )
IF(${COMPILE_SSE})
TRY_COMPILE(COMPILE_RESULT_VAR ${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_MODULE_PATH}/checkSSEpe.cpp )
${CMAKE_MODULE_PATH}/checkSSEpe.cpp COMPILE_DEFINITIONS "${CMAKE_CXX_FLAGS} -msse4.2")
IF( NOT ${COMPILE_RESULT_VAR})
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D__SSEPE_INTEL_COMPILER")
ENDIF()
......
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