File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.30")
1111endif ()
1212
1313include (CheckCXXCompilerFlag)
14- unset (FASTPFOR_COMPILER_SUPPORTS_MARCH_NATIVE CACHE )
15- CHECK_CXX_COMPILER_FLAG(-march=native FASTPFOR_COMPILER_SUPPORTS_MARCH_NATIVE )
16- if (FASTPFOR_COMPILER_SUPPORTS_MARCH_NATIVE )
14+ unset (SIMPLE_FAST_FLOAT_BENCHMARK_COMPILER_SUPPORTS_MARCH_NATIVE CACHE )
15+ CHECK_CXX_COMPILER_FLAG(-march=native SIMPLE_FAST_FLOAT_BENCHMARK_COMPILER_SUPPORTS_MARCH_NATIVE )
16+ if (SIMPLE_FAST_FLOAT_BENCHMARK_COMPILER_SUPPORTS_MARCH_NATIVE )
1717 add_compile_options (-march=native)
1818else ()
1919 message (STATUS "native target not supported" )
@@ -26,4 +26,4 @@ endif()
2626include (cmake/CPM.cmake)
2727
2828add_subdirectory (dependencies)
29- add_subdirectory (benchmarks)
29+ add_subdirectory (benchmarks)
You can’t perform that action at this time.
0 commit comments