Skip to content

Commit 66916d6

Browse files
committed
COMP: Bump itkeigen cmake_minimum to 3.16.3 and clarify dead-block wrap
Bump line 2 from 3.10.2 to 3.16.3 to match ITK proper, and replace the if(FALSE) ... endif() wrapper around the upstream Eigen logic with #[[ ... #]] CMake multiline-comment markers so IDEs render the disabled region as dimmed dead code.
1 parent f6eb95b commit 66916d6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/ThirdParty/Eigen3/src/itkeigen/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Same version of ITK cmake_minimum_required
2-
cmake_minimum_required(VERSION 3.10.2)
2+
cmake_minimum_required(VERSION 3.16.3)
33

44
project(Eigen3)
55

66
# ITK doesn't compile anything here, just generates targets for the INTERFACE library.
7-
if(FALSE)
7+
#[[ # ITK - START DISABLE UPSTREAM EIGEN LOGIC
88
99
cmake_minimum_required(VERSION 3.10.0)
1010
@@ -828,7 +828,7 @@ message(STATUS "")
828828
message(STATUS "Configured Eigen ${EIGEN_VERSION_STRING}")
829829
message(STATUS "")
830830
831-
endif() # Regular CMakeLists of Eigen ends here
831+
#]] # ITK -STOP DISABLE UPSTREAM EIGEN LOGIC
832832

833833
###############################################################################
834834
################################ ITK ##########################################

0 commit comments

Comments
 (0)