mirror of https://github.com/mgba-emu/mgba.git
Include PNG include path
This commit is contained in:
parent
b6b1060676
commit
38762449ad
|
@ -112,6 +112,7 @@ if(USE_PNG)
|
||||||
find_package(PNG REQUIRED)
|
find_package(PNG REQUIRED)
|
||||||
find_package(ZLIB REQUIRED)
|
find_package(ZLIB REQUIRED)
|
||||||
add_definitions(-DUSE_PNG)
|
add_definitions(-DUSE_PNG)
|
||||||
|
include_directories(${PNG_PNG_INCLUDE_DIR})
|
||||||
list(APPEND DEPENDENCY_LIB ${PNG_LIBRARIES} ${ZLIB_LIBRARIES})
|
list(APPEND DEPENDENCY_LIB ${PNG_LIBRARIES} ${ZLIB_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue