diff --git a/qt/widgets/mplcpp/CMakeLists.txt b/qt/widgets/mplcpp/CMakeLists.txt index fb3178b299e6b6346842f2eca7b85eadb3506157..97284a2caf175a33c70abf64933f7a1a75b88291 100644 --- a/qt/widgets/mplcpp/CMakeLists.txt +++ b/qt/widgets/mplcpp/CMakeLists.txt @@ -37,6 +37,7 @@ mtd_add_qt_library (TARGET_NAME MantidQtWidgetsMplCpp INCLUDE_DIRS inc ../../../Framework/PythonInterface/core/inc + ${Boost_INCLUDE_DIRS} ${PYTHON_INCLUDE_PATH} ${PYTHON_NUMPY_INCLUDE_DIR} LINK_LIBS diff --git a/qt/widgets/mplcpp/test/ArtistTest.h b/qt/widgets/mplcpp/test/ArtistTest.h index e0c48020ba379035ca9ed72ebd455f383001a808..f2a6f4a60ca7078242d14f5f2f75c12efd05fa74 100644 --- a/qt/widgets/mplcpp/test/ArtistTest.h +++ b/qt/widgets/mplcpp/test/ArtistTest.h @@ -29,7 +29,8 @@ public: // ----------------- failure tests --------------------- void testConstructWithNonArtistThrowsInvalidArgument() { - TS_ASSERT_THROWS(Artist(Python::Object()), std::invalid_argument); + Python::Object none; + TS_ASSERT_THROWS(Artist artist(none), std::invalid_argument); } };