Autodetect CPU architecture and AVX2/512 in cmake

This commit is contained in:
Robert Schmidt
2022-10-18 08:48:21 +02:00
parent 392040a842
commit 612e9636cc
3 changed files with 52 additions and 49 deletions
+8
View File
@@ -96,3 +96,11 @@ macro(compile_asn1 asn1Source asn1cCmd ResultFlag)
DEPENDS ${asn1Source}
)
endmacro(compile_asn1)
macro(eval_boolean VARIABLE)
if(${ARGN})
set(${VARIABLE} ON)
else()
set(${VARIABLE} OFF)
endif()
endmacro()