From 89c0a685676245627c1ab192ae4f8d29a3f45448 Mon Sep 17 00:00:00 2001 From: Claire Mouton Date: Fri, 14 Dec 2012 11:01:47 +0100 Subject: [PATCH] Bug #1871 Compilation issue due to Boost and Qt compatibility bug. --- kernel/src/CMakeLists.txt | 2 +- packages/qt/src/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/src/CMakeLists.txt b/kernel/src/CMakeLists.txt index d69660f..449e133 100644 --- a/kernel/src/CMakeLists.txt +++ b/kernel/src/CMakeLists.txt @@ -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 diff --git a/packages/qt/src/CMakeLists.txt b/packages/qt/src/CMakeLists.txt index 8f11021..2deab84 100644 --- a/packages/qt/src/CMakeLists.txt +++ b/packages/qt/src/CMakeLists.txt @@ -29,7 +29,7 @@ SET(QT4_HEADERS_TO_WRAP bbqtSlider.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 -- 2.47.1