diff --git a/Code/Mantid/MantidQt/CMakeLists.txt b/Code/Mantid/MantidQt/CMakeLists.txt index fdef6079555f4754c4980a573c13fb1d566d9a64..f8439f5a86fcba14150a04188bf4892e667a58dd 100644 --- a/Code/Mantid/MantidQt/CMakeLists.txt +++ b/Code/Mantid/MantidQt/CMakeLists.txt @@ -44,7 +44,7 @@ separate_arguments ( PYQT4_SIP_FLAGS ) set ( SIP_SPEC ${CMAKE_CURRENT_SOURCE_DIR}/mantidqt.sip ) set ( SIP_SRC_IN ${CMAKE_CURRENT_SOURCE_DIR}/sip_mantidqt.cpp.in ) set ( SIP_SRC ${CMAKE_CURRENT_BINARY_DIR}/sip_mantidqt.cpp ) -set ( SIP_SRC_AUTO siplibmantidqtpart0.cpp ) +set ( SIP_SRC_AUTO siplibmantidpythonqtpart0.cpp ) # We need to manually add all the headers that are in the sip file # so that the dependencies are known to CMake @@ -89,10 +89,10 @@ include_directories ( ${CMAKE_CURRENT_SOURCE_DIR}/SliceViewer/inc ) include_directories ( ${CMAKE_CURRENT_BINARY_DIR}/SliceViewer ) # to find the ui_*.h auto-generated files # This creates the target library, just for python bindings -add_library ( mantidqt ${SIP_SRC} ) +add_library ( mantidqtpython ${SIP_SRC} ) # ... and links to other required libs -target_link_libraries ( mantidqt MantidQtAPI QtPropertyBrowser MantidQtSliceViewer ${QT_LIBRARIES} ${QWT_LIBRARIES} ) +target_link_libraries ( mantidqtpython MantidQtAPI QtPropertyBrowser MantidQtSliceViewer ${QT_LIBRARIES} ${QWT_LIBRARIES} ) @@ -100,5 +100,5 @@ target_link_libraries ( mantidqt MantidQtAPI QtPropertyBrowser MantidQtSliceView # Installation settings ########################################################################### -install ( TARGETS mantidqt DESTINATION ${LIB_DIR} ) +install ( TARGETS mantidqtpython DESTINATION ${LIB_DIR} ) diff --git a/Code/Mantid/MantidQt/mantidqt.sip b/Code/Mantid/MantidQt/mantidqt.sip index a079f8a94d149e9961fa99cb8d7ad09759bf0fa0..c541a0495fd531bb58da5f474a9b5f48bfee768b 100644 --- a/Code/Mantid/MantidQt/mantidqt.sip +++ b/Code/Mantid/MantidQt/mantidqt.sip @@ -7,7 +7,7 @@ */ // Define the module name. This has to match the library filename -%Module libmantidqt +%Module libmantidqtpython /******************************** SIP Imports ****************/ %Import QtCore/QtCoremod.sip diff --git a/Code/Mantid/MantidQt/sip_mantidqt.cpp.in b/Code/Mantid/MantidQt/sip_mantidqt.cpp.in index 7b295c1d217d554c27c7f3e05ac40176b79ec734..a747c000edb74a740c8299d9cd1740925dd61024 100644 --- a/Code/Mantid/MantidQt/sip_mantidqt.cpp.in +++ b/Code/Mantid/MantidQt/sip_mantidqt.cpp.in @@ -10,4 +10,4 @@ #pragma GCC diagnostic ignored "-Wcast-qual" #endif -#include "siplibmantidqtpart0.cpp" +#include "siplibmantidqtpythonpart0.cpp"