doc: fix building documentation when PYTHONPATH is set

Re-add the SEP setting in the documentation CMakeLists. This was dropped
in:

fc942ef7d3 doc: use new kconfig extension

And currently prevents building the documentation locally if a
PYTHONPATH is set.

Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
Fabio Baltieri 2022-04-22 23:08:22 +01:00 committed by Marti Bolivar
parent 1bd5665b89
commit 838dbaae7f

View file

@ -51,6 +51,12 @@ set(DOCS_SRC_DIR ${CMAKE_CURRENT_BINARY_DIR}/src)
set(DOCS_HTML_DIR ${CMAKE_CURRENT_BINARY_DIR}/html)
set(DOCS_LATEX_DIR ${CMAKE_CURRENT_BINARY_DIR}/latex)
if(WIN32)
set(SEP $<SEMICOLON>)
else()
set(SEP :)
endif()
#-------------------------------------------------------------------------------
# Functions