diff --git a/hecl/extern/libpng/CMakeLists.txt b/hecl/extern/libpng/CMakeLists.txt index dd663de3c..c1e4fd22a 100644 --- a/hecl/extern/libpng/CMakeLists.txt +++ b/hecl/extern/libpng/CMakeLists.txt @@ -1,4 +1,4 @@ -if(NOT WIN32 AND NOT APPLe) # remove WIN32 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)