Skip to content
Snippets Groups Projects
Commit 4cd36cdc authored by Campbell, Stuart's avatar Campbell, Stuart
Browse files

refs #5269. Add inc dirs in order for main target to compile.

parent a56f2890
No related branches found
No related tags found
No related merge requests found
...@@ -251,6 +251,12 @@ if (MAIN_TARGET AND GEN_TEST_MAIN) ...@@ -251,6 +251,12 @@ if (MAIN_TARGET AND GEN_TEST_MAIN)
add_executable(main EXCLUDE_FROM_ALL ${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp ) add_executable(main EXCLUDE_FROM_ALL ${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp )
target_link_libraries ( main ${MANTIDLIBS} Algorithms DataHandling ) target_link_libraries ( main ${MANTIDLIBS} Algorithms DataHandling )
# add required include directories from Framework
include_directories ( ../Kernel/inc )
include_directories ( ../Geometry/inc )
include_directories ( ../API/inc )
include_directories ( ../DataObjects/inc )
# run the executable # run the executable
add_custom_target ( cleanmain add_custom_target ( cleanmain
DEPENDS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}/main DEPENDS ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}/${CMAKE_CFG_INTDIR}/main
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment