project64/Android/jni/3rdParty/png/CMakeLists.txt

28 lines
411 B
CMake
Raw Normal View History

2022-06-06 11:16:36 +00:00
cmake_minimum_required(VERSION 2.8)
2021-09-06 21:05:51 +00:00
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_C_STANDARD 99)
project("png")
add_library(png STATIC
png.c
pngerror.c
pngget.c
pngmem.c
pngpread.c
pngread.c
pngrio.c
pngrtran.c
pngrutil.c
pngset.c
pngtest.c
pngtrans.c
pngwio.c
pngwrite.c
pngwtran.c
pngwutil.c)
add_definitions(-DANDROID)
target_link_libraries(png)