From daeceb86fda1ab2a51e642595b713163a8181eb3 Mon Sep 17 00:00:00 2001 From: Jack Luo Date: Tue, 22 Jul 2025 03:46:01 -0400 Subject: [PATCH] fix(cmake): resolve build error due to malformed if() expression on Android platform. --- build/cmake/CMakeModules/ZstdOptions.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/CMakeModules/ZstdOptions.cmake b/build/cmake/CMakeModules/ZstdOptions.cmake index 3fca543a78e..850ab844fdb 100644 --- a/build/cmake/CMakeModules/ZstdOptions.cmake +++ b/build/cmake/CMakeModules/ZstdOptions.cmake @@ -23,7 +23,7 @@ endif() if(ANDROID) set(ZSTD_MULTITHREAD_SUPPORT_DEFAULT OFF) # Handle old Android API levels - if((NOT ANDROID_PLATFORM_LEVEL) OR (ANDROID_PLATFORM_LEVEL VERSION_LESS 24)) + if((NOT ANDROID_PLATFORM_LEVEL) OR ANDROID_PLATFORM_LEVEL VERSION_LESS 24) message(STATUS "Configuring for old Android API - disabling fseeko/ftello") add_compile_definitions(LIBC_NO_FSEEKO) endif()