summaryrefslogtreecommitdiffstats
path: root/qtinterface/tmoc.cmake
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-27 21:56:52 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-27 21:56:52 +0000
commite70558cf0adab0c4395abaa9d147fd5c5d9eacc8 (patch)
treeff9a4e7dec28e428ecc1415cfb59f96f337cdbba /qtinterface/tmoc.cmake
parentbe540072adcf609548f7f72ad17a47c6c6899276 (diff)
downloadtqtinterface-e70558cf0adab0c4395abaa9d147fd5c5d9eacc8.tar.gz
tqtinterface-e70558cf0adab0c4395abaa9d147fd5c5d9eacc8.zip
[cmake] reworked tqtinterface build system
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1226235 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtinterface/tmoc.cmake')
-rwxr-xr-xqtinterface/tmoc.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtinterface/tmoc.cmake b/qtinterface/tmoc.cmake
index b733f87..087fbdb 100755
--- a/qtinterface/tmoc.cmake
+++ b/qtinterface/tmoc.cmake
@@ -11,7 +11,7 @@ if [ -f @BIN_INSTALL_DIR@/tqt-replace-stream ]; then
input_file="$1"
out_file="$3"
@BIN_INSTALL_DIR@/tqt-replace-stream "${input_file}" | \
- @QT_MOC_EXECUTABLE@ | \
+ @MOC_EXECUTABLE@ | \
sed "/#include <qmetaobject.h>/ i #undef QT_NO_COMPAT\n#include \"${input_file}\"" \
> "${out_file}"
fi