traverso/traverso-0.49.2-raptor2.patch

16 lines
856 B
Diff

--- traverso-0.49.2.orig/CMakeLists.txt 2011-10-29 17:42:11.732651048 +0200
+++ traverso-0.49.2/CMakeLists.txt 2011-10-29 17:50:46.460279027 +0200
@@ -207,10 +207,10 @@
PKG_CHECK_MODULES(REDLAND redland>=${MINIMAL_REDLAND_VERSION})
IF (REDLAND_FOUND)
MESSAGE("-- REDLAND Library Found OK")
- INCLUDE_DIRECTORIES(/usr/include/redland /usr/include/rasqal)
+ INCLUDE_DIRECTORIES(/usr/include/redland /usr/include/rasqal /usr/include/raptor2)
ELSE(REDLAND_FOUND)
MESSAGE("-- REDLAND Library not found with pkg-config, looking for headers now")
- INCLUDE_DIRECTORIES(/usr/include/redland /usr/include/rasqal)
+ INCLUDE_DIRECTORIES(/usr/include/redland /usr/include/rasqal /usr/include/raptor2)
CHECK_INCLUDE_FILE("librdf.h" HAVE_LIBRDF_H)
IF(NOT HAVE_LIBRDF_H)
CHECK_INCLUDE_FILE("redland/librdf.h" HAVE_REDLAND_LIBRDF_H)