freetype: disable for Apple frameworks

pull/1016/head
Alexander Alekhin 8 years ago
parent ab63d35db2
commit ad740ddfdf
  1. 3
      modules/freetype/CMakeLists.txt

@ -1,4 +1,7 @@
set(the_description "FreeType module. It enables to draw strings with outlines and mono-bitmaps/gray-bitmaps.") set(the_description "FreeType module. It enables to draw strings with outlines and mono-bitmaps/gray-bitmaps.")
if(APPLE_FRAMEWORK)
ocv_module_disable(freetype)
endif()
if(PKG_CONFIG_FOUND) if(PKG_CONFIG_FOUND)
pkg_search_module(FREETYPE freetype2) pkg_search_module(FREETYPE freetype2)

Loading…
Cancel
Save