From 78e89ee7278738e610f271d545d687cb29b0f1d6 Mon Sep 17 00:00:00 2001 From: Russell Taylor <taylorrj@ornl.gov> Date: Fri, 17 Aug 2012 19:56:36 -0400 Subject: [PATCH] Re #5767. Add python include path for MantidQt/Plot. --- Code/Mantid/MantidPlot/CMakeLists.txt | 1 + Code/Mantid/MantidQt/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/Code/Mantid/MantidPlot/CMakeLists.txt b/Code/Mantid/MantidPlot/CMakeLists.txt index 2fe8e8f0975..79fb403a0cb 100644 --- a/Code/Mantid/MantidPlot/CMakeLists.txt +++ b/Code/Mantid/MantidPlot/CMakeLists.txt @@ -456,6 +456,7 @@ include ( UseSystemQt4 ) # Do the sip generation. ########################################################################### +include_directories ( ${PYTHON_INCLUDE_PATH} ) find_package ( PyQt4 REQUIRED ) find_package ( SIP REQUIRED ) separate_arguments ( PYQT4_SIP_FLAGS ) diff --git a/Code/Mantid/MantidQt/CMakeLists.txt b/Code/Mantid/MantidQt/CMakeLists.txt index 3951190d743..2a40f566a9c 100644 --- a/Code/Mantid/MantidQt/CMakeLists.txt +++ b/Code/Mantid/MantidQt/CMakeLists.txt @@ -52,6 +52,7 @@ endif () # Do the sip generation, for python bindings ########################################################################### +include_directories ( ${PYTHON_INCLUDE_PATH} ) find_package ( PyQt4 REQUIRED ) find_package ( SIP REQUIRED ) separate_arguments ( PYQT4_SIP_FLAGS ) -- GitLab