[libpng16] Do not try to generate pngprefix.h on ANDROID
This commit is contained in:
parent
c0f02a8078
commit
50c9e15a7d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user