Skip to content
Snippets Groups Projects
Commit 3f58f616 authored by Floris Berendsen's avatar Floris Berendsen
Browse files

WIP: getting factory in the main project. BUG: typo elxITKRequiredModules

vs elxRequiredITKModules
parent adbe5452
No related branches found
No related tags found
No related merge requests found
Showing
with 4 additions and 2 deletions
......@@ -19,7 +19,7 @@ set( CMAKE_MODULE_PATH
)
if( ${CMAKE_CXX_COMPILER_ID} STREQUAL "MSVC" )
include( elxWinConfig.cmake )
include( CMake/elxWinConfig.cmake )
endif()
# ---------------------------------------------------------------------
......
set( ${MODULE}_INCLUDE_DIRS
${CMAKE_SOURCE_DIR}/${MODULE_PATH}/Common/include
${CMAKE_SOURCE_DIR}/${MODULE_PATH}/Blueprints/include
${CMAKE_SOURCE_DIR}/${MODULE_PATH}/Install/include
)
set( ${MODULE}_SOURCE_FILES
${CMAKE_SOURCE_DIR}/${MODULE_PATH}/Blueprints/src/elxComponentDescriptor.cxx
${CMAKE_SOURCE_DIR}/${MODULE_PATH}/Blueprints/src/elxBlueprint.cxx
${CMAKE_SOURCE_DIR}/${MODULE_PATH}/Blueprints/src/itkFactory.cxx
)
set( ${MODULE}_LIBRARIES
......
......@@ -51,7 +51,7 @@ option( USE_SYSTEM_ITK "Use an installed version of ITK" OFF )
if( USE_SYSTEM_ITK )
find_package( ITK ${ITK_VERSION_MAJOR}.${ITK_VERSION_MINOR} REQUIRED )
include( "${CMAKE_CURRENT_SOURCE_DIR}/../CMake/elxRequiredITKModules.cmake" )
include( "${CMAKE_CURRENT_SOURCE_DIR}/../CMake/elxITKRequiredModules.cmake" )
else()
include( ExternalITK )
list( APPEND ELASTIX_DEPENDENCIES ITK )
......
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