diff options
Diffstat (limited to 'qtinterface/tmoc.cmake')
-rwxr-xr-x | qtinterface/tmoc.cmake | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/qtinterface/tmoc.cmake b/qtinterface/tmoc.cmake index 087fbdb..5321484 100755 --- a/qtinterface/tmoc.cmake +++ b/qtinterface/tmoc.cmake @@ -12,7 +12,10 @@ if [ -f @BIN_INSTALL_DIR@/tqt-replace-stream ]; then out_file="$3" @BIN_INSTALL_DIR@/tqt-replace-stream "${input_file}" | \ @MOC_EXECUTABLE@ | \ - sed "/#include <qmetaobject.h>/ i #undef QT_NO_COMPAT\n#include \"${input_file}\"" \ + sed "/#include <qmetaobject.h>/ i\\ +#undef QT_NO_COMPAT\\ +#include \"${input_file}\"\\ +" \ > "${out_file}" fi else |