[Kde-bindings] KDE/kdebindings
Richard Dale
Richard_Dale at tipitina.demon.co.uk
Tue Jun 19 13:52:05 UTC 2007
SVN commit 677596 by rdale:
* Fix the build instructions to work with the current kdelibs cmake
modules
CCMAIL: kde-bindings at kde.org
M +5 -1 CMakeLists.txt.qtruby
M +4 -1 CMakeLists.txt.qyoto
--- trunk/KDE/kdebindings/CMakeLists.txt.qtruby #677595:677596
@@ -6,13 +6,17 @@
# add_subdirectory(qtruby)
# 4. Copy kdelibs/cmake/modules/FindQt4.cmake to kdebindings/cmake/modules
# 5. Copy kdelibs/cmake/modules/FindRUBY.cmake to kdebindings/cmake/modules
-# 6. Build kdebindings with cmake
+# 6. Copy kdelibs/cmake/modules/MacroOptionalFindPackage.cmake
+# and MacroPushRequiredVars.cmake to kdebindings/cmake/modules
+# 7. Build kdebindings with cmake
project(kdebindings)
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
+include (MacroOptionalFindPackage)
+
FIND_PACKAGE(Perl REQUIRED)
FIND_PACKAGE (Qt4 REQUIRED)
--- trunk/KDE/kdebindings/CMakeLists.txt.qyoto #677595:677596
@@ -2,7 +2,8 @@
# 1. Copy this file to kdebindings/CMakeLists.txt
# 2. Edit kdebindings/smoke/CMakeLists.txt and comment out the line:
# add_subdirectory(kde)
-# 3. Copy kdelibs/cmake/modules/FindQt4.cmake to kdebindings/cmake/modules
+# 3. Copy kdelibs/cmake/modules/FindQt4.cmake, MacroOptionalFindPackage.cmake
+# and MacroPushRequiredVars.cmake to kdebindings/cmake/modules
# 4. Build kdebindings with cmake
project(kdebindings)
@@ -10,6 +11,8 @@
# where to look first for cmake modules, before ${CMAKE_ROOT}/Modules/ is checked
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
+include (MacroOptionalFindPackage)
+
FIND_PACKAGE(Perl REQUIRED)
FIND_PACKAGE (Qt4 REQUIRED)
More information about the Kde-bindings
mailing list