ERROR_QUIET)
if (RESULT_VAR EQUAL 0)
string(STRIP "${OUTPUT_VAR_TEMP}" OUTPUT_VAR)
- set(${RESULT} ${OUTPUT_VAR_TEMP} CACHE INTERNAL "Result of test for number of AVX-512 FMA units")
+ set(${RESULT} ${OUTPUT_VAR} CACHE INTERNAL "Result of test for number of AVX-512 FMA units")
else()
message(STATUS "Could not identify number of AVX-512 units - detection program did run successfully")
set(${RESULT} -1 CACHE INTERNAL "Result of test for number of AVX-512 FMA units")