mirror of
https://github.com/simtactics/niotso.git
synced 2025-09-22 02:26:47 -04:00
work in progress, cleaned up the directories and split them up into folder which make more sense, Still need to compile libvitaboy and all the tools
This commit is contained in:
parent
66ce473514
commit
948bd8474c
1786 changed files with 571812 additions and 15332 deletions
29
deps/libpng/CMakeLists.txt
vendored
Normal file
29
deps/libpng/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,29 @@
|
|||
cmake_minimum_required(VERSION 2.6...3.29)
|
||||
project(libpng)
|
||||
|
||||
set(LIBPNG_SOURCES
|
||||
png.c
|
||||
pngerror.c
|
||||
pngget.c
|
||||
pngmem.c
|
||||
pngpread.c
|
||||
pngread.c
|
||||
pngrio.c
|
||||
pngrtran.c
|
||||
pngrutil.c
|
||||
pngset.c
|
||||
pngtrans.c
|
||||
pngwio.c
|
||||
pngwrite.c
|
||||
pngwtran.c
|
||||
pngwutil.c
|
||||
)
|
||||
|
||||
file(GLOB_RECURSE LIBPNG_HEADERS *.h)
|
||||
|
||||
include_directories(${zlib_SOURCE_DIR})
|
||||
add_library(libpng STATIC ${LIBPNG_SOURCES} ${LIBPNG_HEADERS}) # remove static, cmake should take care of that
|
||||
target_include_directories(libpng PUBLIC ${LIBPNG_HEADERS})
|
||||
target_link_libraries(libpng zlib)
|
||||
|
||||
set_target_properties(libpng PROPERTIES FOLDER deps)
|
Loading…
Add table
Add a link
Reference in a new issue