[libpng16] Do not try to generate pngprefix.h on ANDROID

This commit is contained in:
Glenn Randers-Pehrson 2017-09-08 14:57:09 -05:00
parent c0f02a8078
commit 50c9e15a7d

View File

@ -441,7 +441,7 @@ else()
"${CMAKE_CURRENT_BINARY_DIR}/scripts/symbols.chk" "${CMAKE_CURRENT_BINARY_DIR}/scripts/symbols.chk"
"${CMAKE_CURRENT_BINARY_DIR}/scripts/symbols.out" "${CMAKE_CURRENT_BINARY_DIR}/scripts/symbols.out"
"${CMAKE_CURRENT_BINARY_DIR}/scripts/vers.out") "${CMAKE_CURRENT_BINARY_DIR}/scripts/vers.out")
endif(NOT AWK) endif(NOT AWK OR ANDROID)
# OUR SOURCES # OUR SOURCES
set(libpng_public_hdrs set(libpng_public_hdrs
@ -455,7 +455,7 @@ set(libpng_private_hdrs
pnginfo.h pnginfo.h
pngstruct.h pngstruct.h
) )
if(AWK) if(AWK AND NOT ANDROID)
list(APPEND libpng_private_hdrs "${CMAKE_CURRENT_BINARY_DIR}/pngprefix.h") list(APPEND libpng_private_hdrs "${CMAKE_CURRENT_BINARY_DIR}/pngprefix.h")
endif() endif()
set(libpng_sources set(libpng_sources