#849 Cairo module not found in Mac OSX 10.8

2.3.x
open
nobody
None
1
2013-05-08
2012-12-10
Zheng Shao
No

I installed cairo via homebrew, which be stored to /usr/local/lib/libcairo.dylib
When I typed cmake, it shows:
-- checking for module 'cairo'
-- package 'cairo' not found

If set "set(CAIRO_FOUND TRUE)" in FindCairo.cmake,
obabel can export png images without problem.

Discussion

  • Agilio Padua

    Agilio Padua - 2012-12-12

    If you compile with
    cmake -DCAIRO_INCLUDE_DIRS=/usr/local/include/cairo
    -DCAIRO_LIBRARIES=/usr/local/lib/libcairo.dylib
    it should work.

     
  • Zheng Shao

    Zheng Shao - 2013-05-08

    Thank you, it works.