--- CMakeLists.txt.orig 2015-03-12 13:06:09.000000000 +0100 +++ CMakeLists.txt 2015-03-10 15:03:07.000000000 +0100 @@ -162,9 +162,10 @@ # pykdeconfig will not work. execute_process(COMMAND "${PYTHON_EXECUTABLE}" -c "import PyQt4.pyqtconfig" RESULT_VARIABLE _exit_code OUTPUT_QUIET ERROR_QUIET) -if (NOT _exit_code) - python_install(${CMAKE_CURRENT_BINARY_DIR}/pykdeconfig.py ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyKDE4) -endif () +# deactivate this because of cmake will try to create a recursive filename that gets way too long +#if (NOT _exit_code) +# python_install(pykdeconfig.py ${PYTHON_SITE_PACKAGES_INSTALL_DIR}/PyKDE4) +#endif () # Do not use --no-undefined for python modules. STRING(REPLACE -Wl,--no-undefined "" CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS}")