2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-08-03 18:55:38 +00:00

Set PNG_LIBRARIES after find_package

This commit is contained in:
Luke Street 2021-04-18 12:01:59 -04:00
parent 49d3feab39
commit f6f0faf68e

View File

@ -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")