Use built-in libpng on macOS

This commit is contained in:
Luke Street 2020-06-25 21:22:59 -04:00
parent 25fabe7ec8
commit 3c461033a9
1 changed files with 2 additions and 2 deletions

View File

@ -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)