Skip to content

Commit f816379

Browse files
authored
Merge pull request #236 from vicory/add_procrustes_module
ENH: Add procrustes module
2 parents ec9e1ca + a7c4adf commit f816379

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CMakeLists.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,20 @@ FetchContent_Populate(${extension_name}
260260
)
261261
list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})
262262

263+
#-----------------------------------------------------------------------------
264+
# Procrustes
265+
set(extension_name "ProcrustesRegistrationModule")
266+
set(short_extension_name "Procrustes") # Use shorter extension name to avoid issues with too long paths on windows
267+
set(${extension_name}_SOURCE_DIR "${CMAKE_BINARY_DIR}/${short_extension_name}")
268+
FetchContent_Populate(${short_extension_name}
269+
SOURCE_DIR ${${extension_name}_SOURCE_DIR}
270+
GIT_REPOSITORY ${EP_GIT_PROTOCOL}://github.com/slicersalt/ProcrustesRegistrationModule.git
271+
GIT_TAG 549e9d9f21758a0d8a864971cbb5c725ebbc95a3
272+
GIT_PROGRESS 1
273+
QUIET
274+
)
275+
list(APPEND Slicer_EXTENSION_SOURCE_DIRS ${${extension_name}_SOURCE_DIR})
276+
263277

264278
#-----------------------------------------------------------------------------
265279
# ModelToModelDistance

0 commit comments

Comments
 (0)