doc: cmake: Fix PYTHONPATH on Windows

Correctly set the separator as a semicolon on Windows when
constructing the PYTHONPATH environment variable so that CMake
doesn't intepret it and swallow it.

Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
Carles Cufi 2019-09-06 15:56:21 +02:00 committed by Anas Nashif
commit 8645cc2b94

View file

@ -184,7 +184,7 @@ add_custom_target(
)
if(WIN32)
set(SEP ;)
set(SEP $<SEMICOLON>)
else()
set(SEP :)
endif()