Mistaken commit of message_once (#741)
This commit is contained in:
committed by
GitHub
parent
16b96245f6
commit
b3efd49c9a
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user