Skip to content

Commit 519c21a

Browse files
authored
Merge pull request #10 from GEOS-ESM/feature/mathomp4/detect-latex-for-docs
Use LaTeX detection from ESMA_cmake v1.0.9
2 parents f28713d + 12e70e8 commit 519c21a

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Externals.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
required = True
33
repo_url = [email protected]:GEOS-ESM/ESMA_cmake.git
44
local_path = ./@cmake
5-
tag = v1.0.2
5+
tag = v1.0.9
66
externals = Externals.cfg
77
protocol = git
88

GMAO_pFIO/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ include_directories (${INC_NETCDF})
118118
file (COPY unused_dummy.H DESTINATION ${include_${this}})
119119

120120
# Users guide
121-
if ($ENV{USE_LATEX} MATCHES NO)
122-
else ()
121+
if (LATEX_FOUND)
123122
# add_subdirectory (TeX)
124123
endif ()
125124

MAPL_Base/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,7 @@ file (COPY mapl_acg.pl DESTINATION ${esma_include}/${this})
106106
file (COPY mapl_stub.pl DESTINATION ${esma_include}/${this})
107107

108108
# Users guide
109-
if ($ENV{USE_LATEX} MATCHES NO)
110-
else ()
109+
if (LATEX_FOUND)
111110
add_subdirectory (TeX)
112111
endif ()
113112

0 commit comments

Comments
 (0)