Matthias Kretz schrieb:
Hi,

attached is a patch to use the new automoc macro which adds a new target per default on Windows.

Please let me know if that is what you want/need and whether I should commit this.

The patch doesn't look correct to me:

@@ -672,7 +679,11 @@

target_link_libraries(${_target_NAME} ${QT_QTMAIN_LIBRARY} kdeinit_${_target_NAME})
    else(WIN32)
-      kde4_handle_automoc(kdeinit_${_target_NAME} _SRCS)
+      if(WIN32)
+         add_automoc4_target("kdeinit_${_target_NAME}_automoc" _SRCS)
+      else(WIN32)
+         automoc4(kdeinit_${_target_NAME} _SRCS)
+      endif(WIN32)


here we're already in the !WIN32 part so the above has no effect for WIN32 at all.


Christian

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to