summaryrefslogtreecommitdiff
blob: 40ec5b5b24a9e7753614a235bb582f9ba69c9df8 (plain)
1
2
3
4
5
6
7
8
9
10
Index: python/pykde4/tools/pykdeuic4/CMakeLists.txt
===================================================================
--- python/pykde4/tools/pykdeuic4/CMakeLists.txt	(revision 1001414)
+++ python/pykde4/tools/pykdeuic4/CMakeLists.txt	(working copy)
@@ -1,2 +1,4 @@
 PYTHON_INSTALL(kde4.py ${DATA_INSTALL_DIR}/${PROJECT_NAME})
-PYTHON_INSTALL(pykdeuic4.py ${DATA_INSTALL_DIR}/${PROJECT_NAME})
+PYTHON_INSTALL(pykdeuic4.py ${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/)
+find_path(cmake_module_dir create_exe_symlink.cmake ${CMAKE_MODULE_PATH})
+INSTALL(CODE "EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -DTARGET=${PYTHON_SITE_PACKAGES_DIR}/PyQt4/uic/pykdeuic4.py -DLINK_NAME=${BIN_INSTALL_DIR}/pykdeuic4 -P ${cmake_module_dir}/create_exe_symlink.cmake)" )