Include PNG include path

This commit is contained in:
Jeffrey Pfau 2014-09-30 22:04:04 -07:00
parent b6b1060676
commit 38762449ad
1 changed files with 1 additions and 0 deletions

View File

@ -112,6 +112,7 @@ if(USE_PNG)
find_package(PNG REQUIRED)
find_package(ZLIB REQUIRED)
add_definitions(-DUSE_PNG)
include_directories(${PNG_PNG_INCLUDE_DIR})
list(APPEND DEPENDENCY_LIB ${PNG_LIBRARIES} ${ZLIB_LIBRARIES})
endif()