Changeset 235 in pacpusframework for trunk/cmake


Ignore:
Timestamp:
Nov 28, 2013, 9:24:21 AM (11 years ago)
Author:
Marek Kurdej
Message:

Fixed QTBUG-22829 with qt4_moc_cpp (wrong macro parsing in boost)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusUtilities.cmake

    r228 r235  
    1414    set(FILES_TO_MOC ${ARGN})
    1515    if(QT4_FOUND)
    16         qt4_wrap_cpp(MOC_SRCS ${FILES_TO_MOC})
     16        qt4_wrap_cpp(MOC_SRCS ${FILES_TO_MOC}
     17            OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED -DBOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION # fixes QTBUG-22829
     18        )
    1719    elseif(Qt5Core_FOUND)
    1820        qt5_wrap_cpp(MOC_SRCS ${FILES_TO_MOC})
Note: See TracChangeset for help on using the changeset viewer.