mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-02 00:13:33 +00:00
Set PNG_LIBRARIES with CACHE FORCE
This commit is contained in:
parent
f6f0faf68e
commit
7b072bc650
2
extern/libpng/CMakeLists.txt
vendored
2
extern/libpng/CMakeLists.txt
vendored
@ -9,7 +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)
|
||||
set(PNG_LIBRARIES PNG::PNG CACHE STRING "PNG libraries" FORCE)
|
||||
endif ()
|
||||
if (NOT PNG_LIBRARIES)
|
||||
message(STATUS "Using HECL's built-in libpng")
|
||||
|
Loading…
x
Reference in New Issue
Block a user