mirror of https://github.com/AxioDL/metaforce.git
Set PNG_LIBRARIES after find_package
This commit is contained in:
parent
49d3feab39
commit
f6f0faf68e
|
@ -9,6 +9,7 @@ if (APPLE)
|
|||
endif()
|
||||
elseif (NOT WIN32 AND NOT NX) # remove WIN32 when specter/freetype is gone
|
||||
find_package(PNG REQUIRED)
|
||||
set(PNG_LIBRARIES PNG::PNG)
|
||||
endif ()
|
||||
if (NOT PNG_LIBRARIES)
|
||||
message(STATUS "Using HECL's built-in libpng")
|
||||
|
|
Loading…
Reference in New Issue