Skip to content

Commit e4177da

Browse files
authored
Update CMakeLists.txt
1 parent b3a77a6 commit e4177da

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ if(CMAKE_VERSION VERSION_GREATER_EQUAL "3.30")
1111
endif()
1212

1313
include(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)
1818
else()
1919
message(STATUS "native target not supported")
@@ -26,4 +26,4 @@ endif()
2626
include(cmake/CPM.cmake)
2727

2828
add_subdirectory(dependencies)
29-
add_subdirectory(benchmarks)
29+
add_subdirectory(benchmarks)

0 commit comments

Comments
 (0)