Skip to content

Commit ec869ac

Browse files
authored
Merge pull request mom-ocean#1659 from NOAA-GFDL/doc_cmake_fix_version
Docs: Force CMake 3.5 compatibility
2 parents e818ea4 + f35e37d commit ec869ac

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ doxygen:
195195
git clone -b $(DOXYGEN_RELEASE) --depth 1 https://github.com/doxygen/doxygen
196196

197197
doxygen/bin/doxygen: doxygen
198-
(cd $(<); cmake -G "Unix Makefiles" .)
199-
(cd $(<); make)
198+
(cd $(<); cmake -DCMAKE_POLICY_VERSION_MINIMUM=3.5 -G "Unix Makefiles" .)
199+
(cd $(<); $(MAKE))
200200

201201
nortd: $(DOXYGENBIN) $(BUILDDIR)
202202
ifdef DOXYGEN_CONF

0 commit comments

Comments
 (0)