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:
3
extern/libpng/CMakeLists.txt
vendored
3
extern/libpng/CMakeLists.txt
vendored
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user