Skip to content

Commit 5c8258b

Browse files
committed
BUILD: Make sure to clear DISPLAY when running xpce steps (one more)
1 parent 3ccacc9 commit 5c8258b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

man/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ function(pldoc tex input)
135135

136136
add_custom_command(
137137
OUTPUT ${tex}
138-
COMMAND ${PROG_SWIPL} -f none --no-packs ${PLDOC2TEX} ${options} "${input}"
138+
COMMAND ${CMAKE_COMMAND} -E env --unset=DISPLAY
139+
${PROG_SWIPL} -f none --no-packs ${PLDOC2TEX} ${options} "${input}"
139140
DEPENDS ${depends}
140141
BYPRODUCTS ${byproducts}
141142
VERBATIM)

0 commit comments

Comments
 (0)