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

forced libpng to link statically on OS X

This commit is contained in:
Jack Andersen
2015-09-02 18:27:35 -10:00
parent 805dc19d4a
commit fec49c542e
2 changed files with 3 additions and 3 deletions

2
hecl/extern/Athena vendored

Submodule hecl/extern/Athena updated: a16fd79838...4ffce2dbc3

View File

@@ -1,8 +1,8 @@
if(NOT WIN32)
if(NOT WIN32 AND NOT APPLE)
find_library(PNG_LIB png)
endif()
if(WIN32 OR PNG_LIB STREQUAL PNG_LIB-NOTFOUND)
if(WIN32 OR APPLE OR PNG_LIB STREQUAL PNG_LIB-NOTFOUND)
message("-- Using HECL's built-in libpng")
include_directories(${ZLIB_INCLUDE_DIR})
add_library(png