Skip to content

Commit 3690011

Browse files
committed
BUG: Fix check for including old cmake documentation code
Change-Id: I4d77548f49fe01da14dbf1a4839e3d65ba0e678a
1 parent b31208a commit 3690011

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Utilities/Doxygen/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# (preserving any auxiliary behavior it provides on era-original toolchains)
77
# and inline the BUILD_DOCUMENTATION option on CMake >= 4.0 where the file
88
# no longer ships.
9-
if(CMAKE_VERSION VERSION_LESS 4.0)
9+
if(CMAKE_VERSION VERSION_LESS 3.18)
1010
include(${CMAKE_ROOT}/Modules/Documentation.cmake)
1111
else()
1212
option(BUILD_DOCUMENTATION "Build the documentation (Doxygen)." OFF)

0 commit comments

Comments
 (0)