]> Creatis software - bbtk.git/blobdiff - kernel/src/CMakeLists.txt
Bug #1871 Compilation issue due to Boost and Qt compatibility bug.
[bbtk.git] / kernel / src / CMakeLists.txt
index d69660f1e557ddb054c3538937d68e56ed04398d..449e133436b75f0e3befe4c62b993f7063e62fba 100644 (file)
@@ -172,7 +172,7 @@ IF(BBTK_USE_QT)
     SET(QT4_HEADERS_TO_WRAP
       bbtkQtBlackBoxDialog.h
       )
-    QT4_WRAP_CPP(MOC_SOURCES ${QT4_HEADERS_TO_WRAP})
+    QT4_WRAP_CPP(MOC_SOURCES ${QT4_HEADERS_TO_WRAP} OPTIONS -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED)
     #--------------------------------------------------------------------------- 
     # UI
     QT4_WRAP_UI(UI_SOURCES