Files
extra/megaglest/remove-xvfb-run.patch
2025-06-22 20:39:04 -05:00

19 lines
639 B
Diff

--- a/CMakeLists.txt 2017-03-08 22:46:57.000000000 +0100
+++ b/CMakeLists.txt 2021-05-31 20:33:09.078963028 +0200
@@ -45,14 +45,7 @@
OPTION(WANT_USE_XercesC "Enable libXercesC support." OFF)
FIND_PROGRAM(HELP2MAN "help2man")
-
-set(XVFB_EXEC "")
-find_program(XVFB_RUN NAMES "xvfb-run")
-if (NOT ${XVFB_RUN} MATCHES "XVFB_RUN-NOTFOUND")
- set(XVFB_EXEC ${XVFB_RUN})
- message(STATUS "Using xvfb-run to run man2help.")
-endif()
-MARK_AS_ADVANCED(HELP2MAN XVFB_RUN)
+MARK_AS_ADVANCED(HELP2MAN)
include(${CMAKE_SOURCE_DIR}/mk/cmake/Modules/SpecialMacros.cmake)
include(${CMAKE_SOURCE_DIR}/mk/cmake/Modules/ReqVersAndStaticConf.cmake)