Fix CMake redefinition for HAVE_CPU_FEATURES_H
It is still redefined, but to the same constant, hence no more warning as mentioned on BUG=webp:358 Change-Id: I80a834c139d5d60cd693d468b0e2ea399729ab3e
This commit is contained in:
parent
a9c8916b87
commit
35f736e1ec
@ -48,7 +48,7 @@ if(ANDROID)
|
|||||||
set(WEBP_DEP_INCLUDE_DIRS ${WEBP_DEP_INCLUDE_DIRS}
|
set(WEBP_DEP_INCLUDE_DIRS ${WEBP_DEP_INCLUDE_DIRS}
|
||||||
${ANDROID_NDK}/sources/android/cpufeatures
|
${ANDROID_NDK}/sources/android/cpufeatures
|
||||||
)
|
)
|
||||||
add_definitions(-DHAVE_CPU_FEATURES_H)
|
add_definitions(-DHAVE_CPU_FEATURES_H=1)
|
||||||
set(HAVE_CPU_FEATURES_H 1)
|
set(HAVE_CPU_FEATURES_H 1)
|
||||||
else()
|
else()
|
||||||
set(HAVE_CPU_FEATURES_H 0)
|
set(HAVE_CPU_FEATURES_H 0)
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
#cmakedefine HAVE_BUILTIN_BSWAP64 1
|
#cmakedefine HAVE_BUILTIN_BSWAP64 1
|
||||||
|
|
||||||
/* Define to 1 if you have the <cpu-features.h> header file. */
|
/* Define to 1 if you have the <cpu-features.h> header file. */
|
||||||
#cmakedefine HAVE_CPU_FEATURES_H
|
#cmakedefine HAVE_CPU_FEATURES_H 1
|
||||||
|
|
||||||
/* Define to 1 if you have the <dlfcn.h> header file. */
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
||||||
#cmakedefine HAVE_DLFCN_H 1
|
#cmakedefine HAVE_DLFCN_H 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user