From 8b1a140c27b26e66f47e7a29ea77196df39b677f Mon Sep 17 00:00:00 2001 From: Alex Buts <alex.buts@stfc.ac.uk> Date: Wed, 7 Sep 2011 12:53:46 +0000 Subject: [PATCH] refs #3669 fixing error in cmake test generation --- Code/Mantid/Framework/MDAlgorithms/CMakeLists.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Code/Mantid/Framework/MDAlgorithms/CMakeLists.txt b/Code/Mantid/Framework/MDAlgorithms/CMakeLists.txt index 05702aa77b7..b3737d02383 100644 --- a/Code/Mantid/Framework/MDAlgorithms/CMakeLists.txt +++ b/Code/Mantid/Framework/MDAlgorithms/CMakeLists.txt @@ -150,14 +150,15 @@ target_link_libraries ( MDAlgorithms ${MANTIDLIBS} MDEvents) # Create test file projects if ( CXXTEST_FOUND ) - include_directories(../CurveFitting/inc ../MDEvents/inc ../Nexus/inc) + include_directories(../CurveFitting/inc ../MDEvents/inc ../Nexus/inc ../TestHelpers/inc + ../DataHandling/inc ../DataObjects/inc ) if ( GMOCK_FOUND AND GTEST_FOUND ) cxxtest_add_test ( MDAlgorithmsTest ${TEST_FILES} ${GMOCK_TEST_FILES}) - target_link_libraries( MDAlgorithmsTest MDAlgorithms MDDataObjects CurveFitting MDEvents API + target_link_libraries( MDAlgorithmsTest MDAlgorithms MDDataObjects CurveFitting MDEvents API DataHandling Nexus ${GMOCK_LIBRARIES} ${GTEST_LIBRARIES}) else () cxxtest_add_test ( MDAlgorithmsTest ${TEST_FILES} ) - target_link_libraries( MDAlgorithmsTest MDAlgorithms MDDataObjects CurveFitting MDEvents API ) + target_link_libraries( MDAlgorithmsTest MDAlgorithms MDDataObjects CurveFitting MDEvents API DataHandling Nexus ) endif () add_dependencies ( FrameworkTests MDAlgorithmsTest ) # Add to the 'FrameworkTests' group in VS -- GitLab