Skip to content

Commit 2096ce4

Browse files
committed
[CMake] Remove unreachable configuration code branch
ROOT requires C++17 as the minimum C++ standard anyway.
1 parent 49a0c5e commit 2096ce4

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

cmake/modules/SearchInstalledSoftware.cmake

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,16 +1030,6 @@ if(arrow)
10301030
message(STATUS "For the time being switching OFF 'arrow' option")
10311031
set(arrow OFF CACHE BOOL "Disabled because Apache Arrow API not found (${arrow_description})" FORCE)
10321032
endif()
1033-
else()
1034-
if(${ARROW_VERSION} VERSION_GREATER_EQUAL 10.0.0 AND CMAKE_CXX_STANDARD LESS 17)
1035-
if(fail-on-missing)
1036-
message(SEND_ERROR "The Apache Arrow version found on the system (${ARROW_VERSION}) requires at least CMAKE_CXX_STANDARD=17")
1037-
else()
1038-
message(STATUS "The Apache Arrow version found on the system (${ARROW_VERSION}) requires at least CMAKE_CXX_STANDARD=17")
1039-
message(STATUS "For the time being switching OFF 'arrow' option")
1040-
set(arrow OFF CACHE BOOL "Disabled because Apache Arrow Version ${ARROW_VERSION} requires CMAKE_CXX_STANDARD=17)" FORCE)
1041-
endif()
1042-
endif()
10431033
endif()
10441034

10451035
endif()

0 commit comments

Comments
 (0)