--- src/CMakeLists.txt.orig 2021-07-27 17:53:02.000000000 -0600 +++ src/CMakeLists.txt 2021-07-27 17:53:15.000000000 -0600 @@ -7,14 +7,6 @@ pkg_check_modules(WEBKIT REQUIRED webkit2gtk-4.0) pkg_check_modules(MARKDOWN REQUIRED libmarkdown) pkg_check_modules(JSON REQUIRED json-glib-1.0) -list (FIND GTK_STATIC_LIBRARIES "X11" _index) -if (${_index} GREATER -1) - set(WITH_X11 1) - message(STATUS "GTK is compiled with X11 -- enabling X11 support") - pkg_check_modules(X11 REQUIRED x11) - set(EXTRA_VALA_OPTIONS ${EXTRA_VALA_OPTIONS} -D X11) - set(X11_PACKAGE x11) -endif () pkg_check_modules(GTHREAD REQUIRED gthread-2.0) pkg_check_modules(PANGOCAIRO REQUIRED pangocairo) if (MOVIES)