diff --git a/Source/astcenccli_entry2.cpp b/Source/astcenccli_entry2.cpp index 5bb1e296..60fe6d4b 100644 --- a/Source/astcenccli_entry2.cpp +++ b/Source/astcenccli_entry2.cpp @@ -62,7 +62,7 @@ int astcenc_main_veneer( if (svcntw() != ASTCENC_SVE) { int bits = ASTCENC_SVE * 32; - print_error("ERROR: Host SVE support is not a %u bit implementation\n", bits); + print_error("ERROR: Host SVE support is not a %u-bit implementation\n", bits); return 1; } #endif diff --git a/Source/cmake_core.cmake b/Source/cmake_core.cmake index abe2d074..8d90dd82 100644 --- a/Source/cmake_core.cmake +++ b/Source/cmake_core.cmake @@ -352,7 +352,7 @@ macro(astcenc_set_properties ASTCENC_TARGET_NAME ASTCENC_VENEER_TYPE) ASTCENC_POPCNT=1 ASTCENC_F16C=0) - if (NOT ${ASTCENC_VENEER_TYPE}) + if (${ASTCENC_VENEER_TYPE} GREATER 0) # Force SSE2 on AppleClang (normally SSE4.1 is the default) target_compile_options(${ASTCENC_TARGET_NAME} PRIVATE @@ -377,7 +377,7 @@ macro(astcenc_set_properties ASTCENC_TARGET_NAME ASTCENC_VENEER_TYPE) ASTCENC_POPCNT=1 ASTCENC_F16C=1) - if (NOT ${ASTCENC_VENEER_TYPE}) + if (${ASTCENC_VENEER_TYPE} GREATER 0) # Force SSE2 on AppleClang (normally SSE4.1 is the default) target_compile_options(${ASTCENC_TARGET_NAME} PRIVATE