termux-packages/packages/libwebp/CMakeLists.txt.patch
2018-08-27 12:13:28 +02:00

27 lines
955 B
Diff

diff -u -r ../libwebp-1.0.0/CMakeLists.txt ./CMakeLists.txt
--- ../libwebp-1.0.0/CMakeLists.txt 2018-04-21 03:04:55.000000000 +0000
+++ ./CMakeLists.txt 2018-08-26 00:26:35.791990624 +0000
@@ -37,21 +37,7 @@
################################################################################
# Android only.
-if(ANDROID)
- include_directories(${ANDROID_NDK}/sources/android/cpufeatures)
- add_library(cpufeatures STATIC
- ${ANDROID_NDK}/sources/android/cpufeatures/cpu-features.c
- )
- target_link_libraries(cpufeatures dl)
- set(WEBP_DEP_LIBRARIES ${WEBP_DEP_LIBRARIES} cpufeatures)
- set(WEBP_DEP_INCLUDE_DIRS ${WEBP_DEP_INCLUDE_DIRS}
- ${ANDROID_NDK}/sources/android/cpufeatures
- )
- add_definitions(-DHAVE_CPU_FEATURES_H=1)
- set(HAVE_CPU_FEATURES_H 1)
-else()
- set(HAVE_CPU_FEATURES_H 0)
-endif()
+set(HAVE_CPU_FEATURES_H 0)
################################################################################
# WebP source files.