2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 13:44:56 +00:00

Disable IPP for macOS universal build

Remove LLVM dependency from README.md
Attempt to fix png include on Linux
This commit is contained in:
2021-04-18 21:39:09 -04:00
parent 7b072bc650
commit abe1eb71c0
3 changed files with 5 additions and 6 deletions

View File

@@ -9,7 +9,8 @@ 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 CACHE STRING "PNG libraries" FORCE)
set(PNG_LIBRARIES ${PNG_LIBRARIES} ${ZLIB_LIBRARIES} CACHE STRING "PNG libraries" FORCE)
set(PNG_INCLUDE_DIR ${PNG_INCLUDE_DIR} CACHE PATH "PNG include path" FORCE)
endif ()
if (NOT PNG_LIBRARIES)
message(STATUS "Using HECL's built-in libpng")