Skip to content
Commit 7599fad1 authored by Carles Cufi's avatar Carles Cufi
Browse files

doc: cmake: Do not use USES_TERMINAL on latex/pdf targets



The following error appeared on documentation builds when enabling the
USES_TERMINAL flag:

  USES_TERMINAL may not be specified without any COMMAND

This is because targets without a command should not be using the flag
at all, so remove its usage from those. Instead, use it in the
add_custom_command() that actualy invokes sphinx.

Signed-off-by: default avatarCarles Cufi <carles.cufi@nordicsemi.no>
parent c065ebdf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment