Open GoogleCodeExporter opened 9 years ago
CMakeLists.txt =! aseprite-1.0.1/CMakeLists.txt <=== not edit this
aseprite-1.0.1/scr/CMakeLists.txt <=== edit this!!!
////////////////////////////////////////////
STEP 1:
if(USE_SHARED_ZLIB)
find_package(ZLIB)
if(ZLIB_FOUND)
set(libs3rdparty ${libs3rdparty} ${ZLIB_LIBRARIES})
include_directories(${ZLIB_INCLUDE_DIR})
endif(ZLIB_FOUND)
else()
set(libs3rdparty ${libs3rdparty} zlib)
include_directories(${ZLIB_DIR})
endif()
if(USE_SHARED_LIBPNG)
find_package(PNG)
if(PNG_FOUND)
set(libs3rdparty ${libs3rdparty} ${PNG_LIBRARIES})
add_definitions(${PNG_DEFINITIONS})
include_directories(${PNG_INCLUDE_DIR})
endif(PNG_FOUND)
else()
set(libs3rdparty ${libs3rdparty} libpng)
endif()
/////////////////////////////////////
STEP 2:
if(USE_SHARED_LIBPNG)
find_package(PNG)
if(PNG_FOUND)
set(libs3rdparty ${libs3rdparty} ${PNG_LIBRARIES})
add_definitions(${PNG_DEFINITIONS})
include_directories(${PNG_INCLUDE_DIR})
endif(PNG_FOUND)
else()
set(libs3rdparty ${libs3rdparty} libpng)
endif()
if(USE_SHARED_ZLIB)
find_package(ZLIB)
if(ZLIB_FOUND)
set(libs3rdparty ${libs3rdparty} ${ZLIB_LIBRARIES})
include_directories(${ZLIB_INCLUDE_DIR})
endif(ZLIB_FOUND)
else()
set(libs3rdparty ${libs3rdparty} zlib)
include_directories(${ZLIB_DIR})
endif()
/////////////////////////////////////
then continue with instruction of INSTALL.md
Original comment by pablo176...@gmail.com
on 13 Jun 2014 at 2:16
Original comment by davidcapello
on 17 Jul 2014 at 3:30
Original issue reported on code.google.com by
peterhul...@gmail.com
on 5 Jan 2014 at 8:06