include_directories( ${RUBY_INCLUDE_PATH} )

set(krossruby_PART_SRCS
   rubyvariant.cpp
   rubyinterpreter.cpp
   rubyextension.cpp
   rubyscript.cpp
   rubymodule.cpp
   rubycallcache.cpp
   rubyobject.cpp
   )

kde4_add_plugin(krossruby ${krossruby_PART_SRCS})
target_link_libraries(krossruby ${QT_QTCORE_LIBRARY} ${KDE4_KROSSCORE_LIBS} ${RUBY_LIBRARY})
install(TARGETS krossruby  DESTINATION ${PLUGIN_INSTALL_DIR})

include_directories( ${RUBY_INCLUDE_PATH} )

set(krossruby_PART_SRCS
   rubyvariant.cpp
   rubyinterpreter.cpp
   rubyextension.cpp
   rubyscript.cpp
   rubymodule.cpp
   rubycallcache.cpp
   rubyobject.cpp
   )

kde4_add_plugin(krossruby ${krossruby_PART_SRCS})
target_link_libraries(krossruby ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${KDE4_KROSSCORE_LIBS} ${RUBY_LIBRARY})
install(TARGETS krossruby  DESTINATION ${PLUGIN_INSTALL_DIR})

Patch to link krossruby at Debian. Thanks to David Palacio :)
Patch to link krossruby at Debian. Thanks to David Palacio :)

CC_MAIL:kde-bindings@kde.org


svn path=/trunk/KDE/kdebindings/ruby/krossruby/; revision=833955
