Skip to content

Commit

Permalink
fix mac & windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Mar 2, 2012
1 parent 748ca4a commit 4e09c53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/cpp/r/session/graphics/RGraphicsDevice.cpp
Expand Up @@ -779,10 +779,8 @@ void close()
// for the pango cairo init routine (for linking on other platforms)
#ifndef PANGO_CAIRO_FOUND
namespace handler {
namespace cairo {
void installCairoHandler() {}
}
}
#endif

} // namespace graphics
Expand Down
5 changes: 2 additions & 3 deletions src/cpp/r/session/graphics/handler/CMakeLists.txt
Expand Up @@ -16,9 +16,8 @@ project (R_GRAPHICS_HANDLER)
# include files
file(GLOB_RECURSE R_GRAPHICS_HANDLER_HEADER_FILES "*.h*")

# platform specific source files

if(UNIX)
# look for pango cairo on linux
if(UNIX AND NOT APPLE)
# detect pangocairo
pkg_check_modules(PANGO_CAIRO pangocairo>=1.14)
if(PANGO_CAIRO_FOUND)
Expand Down

0 comments on commit 4e09c53

Please sign in to comment.