tags 728675 +patch
thanks
Hi,
the number of arguments in QT4_CREATE_MOC_COMMAND seems to have
changed [1]. By applying the following simple patch the package
builds again:
--- telepathy-qt-0.9.3.orig/cmake/modules/FindQt.cmake
+++ telepathy-qt-0.9.3/cmake/modules/FindQt.cmake
@@ -74,7 +74,7 @@ ENDMACRO(QT_GET_MOC_FLAGS)
MACRO(QT_CREATE_MOC_COMMAND infile outfile moc_flags moc_options)
IF(QT_VERSION_MAJOR MATCHES 4)
- QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}"
"${moc_options}")
+ QT4_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}"
"${moc_options}" "${moc_target}")
ELSE(QT_VERSION_MAJOR MATCHES 4)
IF(QT_VERSION_MAJOR MATCHES 5)
QT5_CREATE_MOC_COMMAND(${infile} ${outfile} "${moc_flags}"
"${moc_options}")
I am no cmake expert, so please check if this is a propper solution.
Best regards,
Andi
[1]
<URL:http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9ce60ff509c4ff27fe861fc5b2080f50897a68c4>
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]