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