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

ci: Windows release build fixes

This commit is contained in:
2021-06-12 00:53:51 -04:00
parent 5356cd688a
commit 1843eef976
3 changed files with 6 additions and 24 deletions

View File

@@ -12,7 +12,7 @@ elseif (NOT WIN32 AND NOT NX) # remove WIN32 when specter/freetype is gone
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)
if (WIN32 OR NX OR NOT PNG_LIBRARIES)
message(STATUS "Using HECL's built-in libpng")
if ("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "arm(64)?" OR (APPLE AND "arm64" IN_LIST CMAKE_OSX_ARCHITECTURES))
list(APPEND INTRINSICS