Commit 7cbb01e9 authored by Kasper Marstal's avatar Kasper Marstal
Browse files

ENH: Fix internal module build system

parent 7eda479c
......@@ -35,7 +35,8 @@ set( ${MODULE}_TEST_SOURCE_FILES
${${MODULE}_SOURCE_DIR}/test/selxNetworkBuilderTest.cxx
)
set( ${MODULE}_LIBRARIES
set( ${MODULE}_LIBRARIES
ModuleComponentInterface
)
set( ${MODULE}_MODULE_DEPENDENCIES
......
......@@ -49,7 +49,8 @@ template <class ComponentList>
ComponentSelector<ComponentList>::ComponentSelector()
{
m_PossibleComponents = std::list<ComponentBase::Pointer>();
m_PossibleComponents = ContructComponentsFromTypeList<ComponentList>::fill(m_PossibleComponents,std::string(""));
std::string name = "name";
m_PossibleComponents = ContructComponentsFromTypeList<ComponentList>::fill(m_PossibleComponents, name);
//std::list< itk::LightObject::Pointer > allobjects
// = itk::ObjectFactoryBase::CreateAllInstance( "ComponentBase" );
......
......@@ -30,9 +30,5 @@ set( ${MODULE}_TEST_SOURCE_FILES
${${MODULE}_SOURCE_DIR}/test/selxAnyFileIOTest.cxx
)
set( ${MODULE}_LIBRARIES
${MODULE}
)
set( ${MODULE}_MODULE_DEPENDENCIES
)
set( SUPERELASTIX_USE_FILE ${CMAKE_BINARY_DIR}/UseSuperElastix.cmake )
# Add include directories needed to use SuperElastix
set( SUPERELASTIX_INCLUDE_DIRS @SUPERELASTIX_INCLUDE_DIRS@ )
......
......@@ -72,6 +72,7 @@ configure_file(
ESCAPE_QUOTES
)
include_directories( ${CMAKE_CURRENT_SOURCE_DIR} )
include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
add_library( DataManager selxDataManager.cxx )
......
Markdown is supported
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