Skip to content

Commit

Permalink
Rationalise include directory additions to remove a Mac compiler warn…
Browse files Browse the repository at this point in the history
…ing (and be cleaner). Re #3868.
  • Loading branch information
RussellTaylor committed Oct 26, 2011
1 parent 6c0af16 commit cffb451
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion Code/Mantid/MantidQt/API/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ set ( UI_FILES inc/MantidQtAPI/ManageUserDirectories.ui
)

include_directories ( inc )
include_directories ( ${QWT_INCLUDE_DIR} )
include_directories ( ../MantidWidgets/inc )
include_directories ( ../MantidWidgets )

Expand Down
6 changes: 4 additions & 2 deletions Code/Mantid/MantidQt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Now add the packages one-by-one, building up the dependencies as we go
###########################################################################

include_directories ( SYSTEM ${QWT_INCLUDE_DIR} )
include_directories ( API/inc )
add_subdirectory ( API )
add_subdirectory ( MantidWidgets )
Expand All @@ -21,8 +22,9 @@ if ( MSVC_IDE )
set_property ( TARGET CustomDialogs PROPERTY FOLDER "MantidQt" )
set_property ( TARGET CustomInterfaces PROPERTY FOLDER "MantidQt" )
set_property ( TARGET DesignerPlugins PROPERTY FOLDER "MantidQt" )
set_property ( TARGET SliceViewer PROPERTY FOLDER "MantidQt" )
else ()
add_custom_target ( MantidQt DEPENDS MantidQtAPI MantidWidgets
CustomDialogs CustomInterfaces
CustomDialogs CustomInterfaces SliceViewer
)
endif ()
endif ()
1 change: 0 additions & 1 deletion Code/Mantid/MantidQt/CustomInterfaces/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ include_directories ( inc )
include_directories ( ../MantidWidgets/inc )
include_directories ( ${CMAKE_CURRENT_BINARY_DIR}/../MantidWidgets )
include_directories ( ${CMAKE_CURRENT_BINARY_DIR}/../API )
include_directories ( ${QWT_INCLUDE_DIR} )
include_directories ( ../../QtPropertyBrowser/src )

qt4_wrap_cpp ( MOCCED_FILES ${MOC_FILES} )
Expand Down
1 change: 0 additions & 1 deletion Code/Mantid/MantidQt/MantidWidgets/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ set ( UI_FILES inc/MantidQtMantidWidgets/ICatAdvancedSearch.ui


include_directories ( inc )
include_directories ( ${QWT_INCLUDE_DIR} )
include_directories ( ../../QtPropertyBrowser/src )

qt4_wrap_cpp ( MOCCED_FILES ${MOC_FILES} )
Expand Down
1 change: 0 additions & 1 deletion Code/Mantid/MantidQt/SliceViewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ set ( UI_FILES


include_directories ( inc )
include_directories ( ${QWT_INCLUDE_DIR} )
include_directories ( ../../QtPropertyBrowser/src )

qt4_wrap_cpp ( MOCCED_FILES ${MOC_FILES} )
Expand Down

0 comments on commit cffb451

Please sign in to comment.