From 5c8258b203ddf7791796bd6cf05785a101b5ab4c Mon Sep 17 00:00:00 2001 From: Jan Wielemaker Date: Thu, 24 Oct 2024 09:22:28 +0200 Subject: [PATCH] BUILD: Make sure to clear ``DISPLAY`` when running xpce steps (one more) --- man/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/man/CMakeLists.txt b/man/CMakeLists.txt index 4984ac56ec..2e227c5e19 100644 --- a/man/CMakeLists.txt +++ b/man/CMakeLists.txt @@ -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)