Hi, see $subject. Is the attached patch okay? I once did a similar patch to the variants in kdeutils/printer-applet/cmake-module (are they still needed?), but then I have no real clue what is going on in cmake files.
Cheers Friedrich -- Okteta - KDE 4 Hex Editor - http://utils.kde.org/projects/okteta
Index: kdelibs/cmake/modules/FindPyKDE4.cmake =================================================================== --- kdelibs/cmake/modules/FindPyKDE4.cmake (Revision 905622) +++ kdelibs/cmake/modules/FindPyKDE4.cmake (Arbeitskopie) @@ -15,7 +15,7 @@ get_filename_component( current_module_dir ${CMAKE_CURRENT_LIST_FILE} PATH) IF(PYTHONINTERP_FOUND) - EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${current_module_dir}/FindPyKDE4.py OUTPUT_VARIABLE pykde_config) + EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${current_module_dir}/FindPyKDE4.py OUTPUT_VARIABLE pykde_config ERROR_QUIET) IF(NOT pykde_config) # Failure to run SET(PYKDE4_FOUND FALSE) Index: kdelibs/cmake/modules/FindPyQt4.cmake =================================================================== --- kdelibs/cmake/modules/FindPyQt4.cmake (Revision 905622) +++ kdelibs/cmake/modules/FindPyQt4.cmake (Arbeitskopie) @@ -29,7 +29,7 @@ FIND_FILE(_find_pyqt_py FindPyQt.py PATHS ${CMAKE_MODULE_PATH}) - EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${_find_pyqt_py} OUTPUT_VARIABLE pyqt_config) + EXECUTE_PROCESS(COMMAND ${PYTHON_EXECUTABLE} ${_find_pyqt_py} OUTPUT_VARIABLE pyqt_config ERROR_QUIET) IF(pyqt_config) STRING(REGEX REPLACE "^pyqt_version:([^\n]+).*$" "\\1" PYQT4_VERSION ${pyqt_config}) STRING(REGEX REPLACE ".*\npyqt_version_str:([^\n]+).*$" "\\1" PYQT4_VERSION_STR ${pyqt_config})
_______________________________________________ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem