Skip to content

Commit

Permalink
COMP: CMake, no need to protect cmake options
Browse files Browse the repository at this point in the history
  • Loading branch information
phcerdan committed Mar 27, 2019
1 parent 87c2e4d commit 1522d4c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,9 @@ include(CMakeParseArguments)
include(FetchContent)

# This be here, just in case, in the future we switch to use lapack instead of eigen for proxTV.
if(NOT DEFINED TotalVariation_proxTV_USE_EIGEN)
option(TotalVariation_proxTV_USE_EIGEN "proxTV in TotalVariation uses EIGEN" ON)
endif()
option(TotalVariation_proxTV_USE_EIGEN "proxTV in TotalVariation uses EIGEN" ON)
# Add the option to use Eigen3 from outside, or the internal Eigen3 install in ITK.
if(NOT DEFINED ITK_USE_SYSTEM_EIGEN)
option(ITK_USE_SYSTEM_EIGEN "Uses external Eigen3, when OFF uses the internal Eigen3 from ITK." OFF)
endif()
option(ITK_USE_SYSTEM_EIGEN "Uses external Eigen3, when OFF uses the internal Eigen3 from ITK." OFF)

if(TotalVariation_proxTV_USE_EIGEN)
if(NOT ITK_USE_SYSTEM_EIGEN)
Expand Down

0 comments on commit 1522d4c

Please sign in to comment.