Skip to content

Commit

Permalink
Tweak error message
Browse files Browse the repository at this point in the history
  • Loading branch information
solidpixel committed Sep 5, 2024
1 parent d0e7fc8 commit 2afbe48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Source/astcenccli_entry2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Source/cmake_core.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 2afbe48

Please sign in to comment.