Mistaken commit of message_once (#741)

This commit is contained in:
Matthew Parkinson
2025-02-05 11:16:41 +00:00
committed by GitHub
parent 16b96245f6
commit b3efd49c9a

View File

@@ -485,7 +485,7 @@ if(NOT SNMALLOC_HEADER_ONLY_LIBRARY)
if(SNMALLOC_OPTIMISE_FOR_CURRENT_MACHINE)
check_cxx_compiler_flag(-march=native SUPPORT_MARCH_NATIVE)
if (NOT SUPPORT_MARCH_NATIVE)
message_once(WARNING "Compiler does not support `-march=native` required by SNMALLOC_OPTIMISE_FOR_CURRENT_MACHINE")
message(WARNING "Compiler does not support `-march=native` required by SNMALLOC_OPTIMISE_FOR_CURRENT_MACHINE")
set(SNMALLOC_OPTIMISE_FOR_CURRENT_MACHINE FALSE)
endif()
endif()