Commit 4fd14c00 authored by Yue Liu's avatar Yue Liu

disable fontconfig and freetype on OSX

parent 74f0a8eb
......@@ -486,19 +486,19 @@ endif(WIN32)
## Test for Fontconfig
##
## Only test if on non-Windows system
if(NOT WIN32)
if(NOT WIN32 OR NOT APPLE)
macro_optional_find_package(Fontconfig)
macro_log_feature(FONTCONFIG_FOUND "Fontconfig" "Library for configuring and customizing font access" "http://fontconfig.org" FALSE "" "Required to handle exact font size")
endif(NOT WIN32)
endif()
##
## Test for Freetype
##
## Only test if on non-Windows system
if(NOT WIN32)
if(NOT WIN32 OR NOT APPLE)
macro_optional_find_package(Freetype)
macro_log_feature(FREETYPE_FOUND "Freetype" "A Free, High-Quality, and Portable Font Engine" "http://www.freetype.org/" FALSE "" "Required to handle exact font size")
endif(NOT WIN32)
endif()
if(NOT FONTCONFIG_FOUND OR NOT FREETYPE_FOUND)
set(FONTCONFIG_INCLUDE_DIR "")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment