We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b906131 commit 1f6ac71Copy full SHA for 1f6ac71
CMakeLists.txt
@@ -59,6 +59,9 @@ find_program(PDFLATEX pdflatex)
59
if(DEFINED BUILD_DOC AND NOT BUILD_DOC)
60
message(STATUS "BUILD_DOC turned off, documentation will not be built")
61
set(BUILD_DOC OFF)
62
+elseif(DEFINED BUILD_DOC AND BUILD_DOC AND NOT PDFLATEX)
63
+ message(WARNING "BUILD_DOC turned on but no pdflatex found, documentation will not be built")
64
+ set(BUILD_DOC OFF)
65
elseif(NOT DEFINED BUILD_DOC AND NOT PDFLATEX)
66
message(STATUS "pdflatex not found, documentation will not be built")
67
0 commit comments