Skip to content

Commit

Permalink
BUILD: Make sure to clear DISPLAY when running xpce steps (one more)
Browse files Browse the repository at this point in the history
  • Loading branch information
JanWielemaker committed Oct 24, 2024
1 parent 3ccacc9 commit 5c8258b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion man/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ function(pldoc tex input)

add_custom_command(
OUTPUT ${tex}
COMMAND ${PROG_SWIPL} -f none --no-packs ${PLDOC2TEX} ${options} "${input}"
COMMAND ${CMAKE_COMMAND} -E env --unset=DISPLAY
${PROG_SWIPL} -f none --no-packs ${PLDOC2TEX} ${options} "${input}"
DEPENDS ${depends}
BYPRODUCTS ${byproducts}
VERBATIM)
Expand Down

0 comments on commit 5c8258b

Please sign in to comment.