mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-07-12 17:25:51 +00:00
Use built-in libpng on macOS
This commit is contained in:
parent
25fabe7ec8
commit
3c461033a9
4
hecl/extern/libpng/CMakeLists.txt
vendored
4
hecl/extern/libpng/CMakeLists.txt
vendored
@ -1,4 +1,4 @@
|
||||
if(NOT WIN32) # remove when specter/freetype is gone
|
||||
if(NOT WIN32 AND NOT APPLe) # remove WIN32 when specter/freetype is gone
|
||||
find_library(PNG_LIB NAMES png libpng)
|
||||
endif()
|
||||
if(NOT PNG_LIB)
|
||||
@ -35,4 +35,4 @@ else()
|
||||
set(PNG_LIBRARIES ${PNG_LIB} CACHE PATH "PNG libraries" FORCE)
|
||||
find_path(PNG_INCLUDE_DIR png.h)
|
||||
set(PNG_INCLUDE_DIR ${PNG_INCLUDE_DIR} CACHE PATH "PNG include path" FORCE)
|
||||
endif()
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user