diff --git a/cmake/FindFreetype.cmake b/cmake/FindFreetype.cmake index 279b646e5..7d27a2102 100644 --- a/cmake/FindFreetype.cmake +++ b/cmake/FindFreetype.cmake @@ -11,15 +11,15 @@ if(WIN32) find_path(FREETYPE_INCLUDE_DIRS NAMES freetype/freetype.h PATHS "${PROJECT_SOURCE_DIR}/dependencies/include") - find_library(FREETPYE_LIBRARY NAMES freetype PATHS "${PROJECT_SOURCE_DIR}/dependencies/lib") + find_library(FREETYPE_LIBRARY NAMES freetype PATHS "${PROJECT_SOURCE_DIR}/dependencies/lib") set(FREETYPE_FOUND 1) - set(FREETPYE_LIBRARIES ${FREETPYE_LIBRARY}) + set(FREETYPE_LIBRARIES ${FREETYPE_LIBRARY}) elseif(APPLE) find_path(FREETYPE_INCLUDE_DIRS NAMES freetype/freetype.h PATHS "/Library/Frameworks/FreeType.Framework/Versions/2.4/unix/include") - find_library(FREETPYE_LIBRARY NAMES freetype PATHS "/Library/Frameworks/FreeType.Framework/Versions/2.4/") + find_library(FREETYPE_LIBRARY NAMES freetype PATHS "/Library/Frameworks/FreeType.Framework/Versions/2.4/") include_directories(/Library/Frameworks/FreeType.Framework/Versions/2.4/unix/include) set(FREETYPE_FOUND 1) - set(FREETPYE_LIBRARIES ${FREETPYE_LIBRARY}) + set(FREETYPE_LIBRARIES ${FREETYPE_LIBRARY}) elseif(UNIX) include(FindPkgConfig) pkg_check_modules(FREETYPE freetype2)