Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ option( ELASTIX_BUILD_EXECUTABLE "Build elastix and transformix as executable? (

#---------------------------------------------------------------------
option(ELASTIX_USE_OPENCL "Use OpenCL enabled GPU" OFF)
set(_GPU_depends "")
if(ELASTIX_USE_OPENCL)
list(APPEND _GPU_depends ITKGPUCommon)
endif()
Comment on lines -38 to -41

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


# Propagate Torch_DIR to all subdirectories so that find_package(Torch REQUIRED) works in Components/Metrics/Impact/CMakeLists.txt
set(Torch_DIR "${Torch_DIR}" CACHE PATH "Path to Torch CMake files")
Expand Down Expand Up @@ -83,7 +79,6 @@ find_package(ITK 5.4.1 REQUIRED COMPONENTS
ITKThresholding
ITKTransform
ITKTransformFactory
${_GPU_depends}
${_ITK_io_depends}
)

Expand Down
1 change: 0 additions & 1 deletion Common/OpenCL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ add_library(elxOpenCL STATIC ${OpenCL_Files})
# Link it against the necessary libraries.
elastix_link_itk(elxOpenCL PUBLIC MODULES
ITKCommon
ITKGPUCommon
ITKTransform
ITKImageGrid
ITKSmoothing
Expand Down
Loading