Commit ba3d5f36 authored by Floris Berendsen's avatar Floris Berendsen
Browse files

COMP: BUG: SuperElastix/SuperElastix#13 commandlineProgram cannot find boost include

parent 2eebdc9d
......@@ -31,6 +31,7 @@ set(Boost_USE_MULTITHREADED ON)
set(BOOST_LIBRARYDIR ${BOOST_ROOT}/stage/lib)
find_package(Boost COMPONENTS program_options system filesystem REQUIRED)
include_directories(${Boost_INCLUDE_DIR})
# Compile executable
add_executable( superelastix ${COMMANDLINE_SOURCE_FILES} ${COMMANDLINE_HEADER_FILES} )
target_link_libraries( superelastix ${SUPERELASTIX_LIBRARIES} ${Boost_LIBRARIES})
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment