[Kde-bindings] CMakeLists.txt.qtruby bug
Robert Riemann
robert.riemann at physik.hu-berlin.de
Tue Feb 9 23:51:08 UTC 2010
Hi all,
I tried following the CMakeLists.txt.qtruby to build korundum4 with
ruby1.9 and Qt 4.6.1.
I modified the first lines for cmake:
cmake \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DRUBY_EXECUTABLE=/usr/bin/ruby1.9 \
-DRUBY_INCLUDE_PATH=/usr/lib64/ruby/1.9.1/x86_64-linux \
...
cmake complains not to find some files, so you have to copy 3 files
more than mentioned:
*** kdebindings/CMakeLists.txt.qtruby 2010-02-10 00:42:23.006874652 +0100
--- /home/rriemann/go/ruby-kde4/korundum4_kompilieren/CMakeLists.txt.qtruby
2010-02-10 00:41:25.000000000 +0100
***************
*** 8,13 ****
--- 8,16 ----
# cp ../kdelibs/cmake/modules/FindRUBY.cmake ./cmake/modules/
# cp ../kdelibs/cmake/modules/MacroOptionalFindPackage.cmake ./cmake/modules/
# cp ../kdelibs/cmake/modules/MacroPushRequiredVars.cmake ./cmake/modules/
+ # cp ../kdelibs/cmake/modules/Qt4Macros.cmake ./cmake/modules/
+ # cp ../kdelibs/cmake/modules/Qt4ConfigDependentSettings.cmake
./cmake/modules/
+ # cp ../kdelibs/cmake/modules/HandleImportedTargetsInCMakeRequiredLibraries.cmake
./cmake/modules/
#
# 3. Build kdebindings with a set of commands like:
#
After all I stuck the following error:
-- QT_NO_TOOLBUTTON *Undefined*
-- Found Qt-Version 4.6.1 (using /usr/bin/qmake)
-- Found Qt-Version 4.6.1 (using /usr/bin/qmake)
CMake Error at smoke/kdecore/CMakeLists.txt:66 (kde4_add_library):
Unknown CMake command "kde4_add_library".
-- Configuring incomplete, errors occurred!
Greets,
Robert
More information about the Kde-bindings
mailing list