kdesupport/automoc

Christian Ehrlicher Ch.Ehrlicher at gmx.de
Fri Jul 25 23:44:38 CEST 2008


SVN commit 837858 by chehrlic:

important fix for msvc - would be nice to get a new version because of this - otherwise kdenetwork/libiris doesn't compile

CCMAIL: kde-windows at kde.org

 M  +2 -1      Automoc4Config.cmake  


--- trunk/kdesupport/automoc/Automoc4Config.cmake #837857:837858
@@ -32,6 +32,7 @@
    # and add it to the target
    if(_headers_to_moc)
        set(_automoc4_headers_${_target_NAME} "${_headers_to_moc}")
+       set(_automoc4_headers_${_target_NAME}_automoc "${_headers_to_moc}")
    endif(_headers_to_moc)
 endmacro (AUTOMOC4_MOC_HEADERS)
 
@@ -90,7 +91,7 @@
    set(_moc_headers)
 
    # first list all explicitly set headers
-   foreach(_header_to_moc ${ARGN} )
+   foreach(_header_to_moc ${_automoc4_headers_${_target_NAME}} )
       get_filename_component(_abs_header ${_header_to_moc} ABSOLUTE)
       list(APPEND _moc_files ${_abs_header})
       list(APPEND _moc_headers ${_abs_header})


More information about the Kde-windows mailing list