mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Oops
This commit is contained in:
parent
54c3d998a0
commit
757e29e170
1 changed files with 1 additions and 8 deletions
|
|
@ -82,17 +82,11 @@ else ()
|
|||
add_definitions(-DZSTD_LEGACY_SUPPORT=0)
|
||||
endif ()
|
||||
|
||||
get_cmake_property(_variableNames VARIABLES)
|
||||
list (SORT _variableNames)
|
||||
foreach (_variableName ${_variableNames})
|
||||
message("${_variableName}=${${_variableName}}")
|
||||
endforeach()
|
||||
|
||||
if (ANDROID)
|
||||
set(ZSTD_MULTITHREAD_SUPPORT_DEFAULT OFF)
|
||||
# Old versions of bionic libc don't have fseeko/ftello
|
||||
if ((NOT ${ANDROID_PLATFORM_LEVEL}) OR ${ANDROID_PLATFORM_LEVEL} VERSION_LESS 24)
|
||||
message("Hi Android SDK")
|
||||
message(STATUS "Setting compile definitions for old Android API")
|
||||
add_compile_definitions(LIBC_NO_FSEEKO)
|
||||
endif ()
|
||||
else()
|
||||
|
|
@ -164,7 +158,6 @@ if (ZSTD_BUILD_PROGRAMS)
|
|||
elseif(NOT ZSTD_BUILD_SHARED AND ZSTD_PROGRAMS_LINK_SHARED)
|
||||
message(SEND_ERROR "You need to build shared library to build zstd CLI")
|
||||
endif ()
|
||||
message("Building program")
|
||||
|
||||
add_subdirectory(programs)
|
||||
endif ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue