mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 19:44:55 +00:00
forced libpng to link statically on OS X
This commit is contained in:
2
hecl/extern/Athena
vendored
2
hecl/extern/Athena
vendored
Submodule hecl/extern/Athena updated: a16fd79838...4ffce2dbc3
4
hecl/extern/libpng/CMakeLists.txt
vendored
4
hecl/extern/libpng/CMakeLists.txt
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user