aseprite/third_party/loadpng/CMakeLists.txt
David Capello 55f90d8b8b Add target_link_libraries() for sublibraries
With this change we remove some internal variables/lists like sys_libs,
libs3rdparty, etc. And we fix dependencies problems between targets.
2015-07-13 12:16:55 -03:00

12 lines
186 B
CMake

# ASEPRITE
# Copyright (C) 2001-2013, 2015 David Capello
add_library(loadpng
loadpng.c
savepng.c
regpng.c)
target_link_libraries(loadpng
${PNG_LIBRARIES}
${ZLIB_LIBRARIES})