--- amarok/cmake/modules/FindQtScriptQtBindings.cmake 2009-03-22 11:57:33.000000000 +0600 +++ amarok/cmake/modules/FindQtScriptQtBindings.cmake~ 2009-03-23 11:23:42.000000000 +0600 @@ -24,7 +24,10 @@ set(CMAKE_REQUIRED_DEFINTIONS ${QT_DEFIN set(CMAKE_REQUIRED_INCLUDES ${QT_QTCORE_INCLUDE_DIR} ${QT_QTSCRIPT_INCLUDE_DIR} ${KDE4_INCLUDES}) set(CMAKE_REQUIRED_LIBRARIES ${QT_QTSCRIPT_LIBRARY} ${QT_QTCORE_LIBRARY} -L${KDE4_LIB_DIR} -lkdecore -lkdeui) message( STATUS "includes ${CMAKE_REQUIRED_INCLUDES} libraries ${CMAKE_REQUIRED_LIBRARIES}" ) -CHECK_CXX_SOURCE_RUNS( "${source}" BINDINGS_RUN_RESULT) +# Following check will fail in chroot because dbus installed but not initted there. So, it always "fail" what is wrong. +# We have to set the result manually. +#CHECK_CXX_SOURCE_RUNS( "${source}" BINDINGS_RUN_RESULT) +set(BINDINGS_RUN_RESULT "1" ) if(BINDINGS_RUN_RESULT EQUAL 1) message( STATUS "QtBindings found")