Fix Opencv3.2 freetype module build failed in macOS10.12 #919

pull/926/head
Kumataro 8 years ago
parent 86342522b0
commit abf44fcccf
  1. 2
      modules/freetype/CMakeLists.txt

@ -19,7 +19,7 @@ endif()
if( FREETYPE_FOUND AND HARFBUZZ_FOUND )
ocv_define_module(freetype opencv_core opencv_imgproc PRIVATE_REQUIRED ${freetype2_LIBRARIES} ${harfbuzz_LIBRARIES} WRAP python)
ocv_define_module(freetype opencv_core opencv_imgproc PRIVATE_REQUIRED ${FREETYPE_LIBRARIES} ${HARFBUZZ_LIBRARIES} WRAP python)
ocv_include_directories( ${FREETYPE_INCLUDE_DIRS} ${HARFBUZZ_INCLUDE_DIRS} )
else()
ocv_module_disable(freetype)

Loading…
Cancel
Save