diff --git a/CMakeLists.txt b/CMakeLists.txt index 7b2020cb..d4bc4db6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,7 +48,7 @@ if(ANDROID) set(WEBP_DEP_INCLUDE_DIRS ${WEBP_DEP_INCLUDE_DIRS} ${ANDROID_NDK}/sources/android/cpufeatures ) - add_definitions(-DHAVE_CPU_FEATURES_H) + add_definitions(-DHAVE_CPU_FEATURES_H=1) set(HAVE_CPU_FEATURES_H 1) else() set(HAVE_CPU_FEATURES_H 0) diff --git a/cmake/config.h.in b/cmake/config.h.in index 9410a1b5..7770da57 100644 --- a/cmake/config.h.in +++ b/cmake/config.h.in @@ -14,7 +14,7 @@ #cmakedefine HAVE_BUILTIN_BSWAP64 1 /* Define to 1 if you have the header file. */ -#cmakedefine HAVE_CPU_FEATURES_H +#cmakedefine HAVE_CPU_FEATURES_H 1 /* Define to 1 if you have the header file. */ #cmakedefine HAVE_DLFCN_H 1