[Kde-bindings] KDE/kdebindings/ruby

Alexander Neundorf neundorf at kde.org
Wed Apr 28 20:48:36 UTC 2010


SVN commit 1120309 by neundorf:

-fix compilation of soprano and akonadi stuff by adding the respective include dirs (FindSoprano.cmake and FindAkonadi.cmake tell in the documentation at the top you which variables they export)

Alex

CCMAIL: kde-bindings at kde.org



 M  +3 -2      akonadi/CMakeLists.txt  
 M  +2 -1      soprano/CMakeLists.txt  


--- trunk/KDE/kdebindings/ruby/akonadi/CMakeLists.txt #1120308:1120309
@@ -1,6 +1,6 @@
 include_directories( ${CMAKE_SOURCE_DIR}/smoke ${RUBY_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/ruby/qtruby/src)
-INCLUDE_DIRECTORIES (${QT_INCLUDES} ${KDE4_INCLUDE_DIR})
-include_directories( ${KDE4_INCLUDE_DIR}/akonadi )
+include_directories (${QT_INCLUDES} ${KDE4_INCLUDE_DIR} )
+include_directories( ${KDEPIMLIBS_INCLUDE_DIR} )
 
 set(rubyakonadi_LIBRARY_SRC akonadi.cpp akonadihandlers.cpp)
 
@@ -14,6 +14,7 @@
     smokeakonadi 
     qtruby4shared)
 set_target_properties(rubyakonadi PROPERTIES PREFIX "" OUTPUT_NAME akonadi)
+
 install(TARGETS rubyakonadi DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
 install(FILES akonadi.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/akonadi)
 
--- trunk/KDE/kdebindings/ruby/soprano/CMakeLists.txt #1120308:1120309
@@ -1,10 +1,11 @@
 include_directories( ${CMAKE_SOURCE_DIR}/smoke ${RUBY_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/ruby/qtruby/src)
-INCLUDE_DIRECTORIES (${QT_INCLUDES})
+include_directories (${QT_INCLUDES} ${SOPRANO_INCLUDE_DIR})
 
 set(rubysoprano_LIBRARY_SRC soprano.cpp sopranohandlers.cpp)
 add_library(rubysoprano MODULE ${rubysoprano_LIBRARY_SRC})
 target_link_libraries(rubysoprano ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} smokeqtcore smokesoprano qtruby4shared)
 set_target_properties(rubysoprano PROPERTIES PREFIX "" OUTPUT_NAME soprano)
+
 install(TARGETS rubysoprano DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
 install(FILES soprano.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/soprano)
 



More information about the Kde-bindings mailing list