From: Kornel Benko Date: Mon, 24 Jun 2019 08:36:37 +0000 (+0200) Subject: Cmake windows build: Fix a cache variable X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=54daf989fd4f1c6fb1fecf42010282bfc89c58f3;p=features.git Cmake windows build: Fix a cache variable Thanks to Jürgen Womser-Schütz --- diff --git a/development/cmake/ConfigureChecks.cmake b/development/cmake/ConfigureChecks.cmake index 1b6bf45bd0..5dc0bc52e8 100644 --- a/development/cmake/ConfigureChecks.cmake +++ b/development/cmake/ConfigureChecks.cmake @@ -275,7 +275,7 @@ if(LYX_USE_QT MATCHES "QT5") set(lyx_qt5_config "QtCore/qconfig.h") endif() if(WIN32) - set(QT_USES_X11 CACHE "Win32 compiled without X11" 0) + set(QT_USES_X11 OFF BOOL CACHE "Win32 compiled without X11") # The try_run for minngw would not work here anyway else() check_cxx_source_runs(