|
|
@ -292,7 +292,7 @@ macro(ADD_C_COMPILER_FLAG_IF_AVAILABLE flag have)
|
|
|
|
endmacro(ADD_C_COMPILER_FLAG_IF_AVAILABLE)
|
|
|
|
endmacro(ADD_C_COMPILER_FLAG_IF_AVAILABLE)
|
|
|
|
|
|
|
|
|
|
|
|
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
|
|
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-comment -Wno-reorder -Wno-unused-but-set-variable -Wno-unused-variable -Wtype-limits -std=c++11")
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color=always -Wall -Wno-comment -Wno-reorder -Wno-unused-but-set-variable -Wno-unused-variable -Wtype-limits -std=c++11")
|
|
|
|
|
|
|
|
|
|
|
|
find_package(SSE)
|
|
|
|
find_package(SSE)
|
|
|
|
if (HAVE_AVX2)
|
|
|
|
if (HAVE_AVX2)
|
|
|
|