]> git.lyx.org Git - features.git/commitdiff
Cmake windows build: Fix a cache variable
authorKornel Benko <kornel@lyx.org>
Mon, 24 Jun 2019 08:36:37 +0000 (10:36 +0200)
committerKornel Benko <kornel@lyx.org>
Mon, 24 Jun 2019 08:36:37 +0000 (10:36 +0200)
Thanks to Jürgen Womser-Schütz

development/cmake/ConfigureChecks.cmake

index 1b6bf45bd09de048ee4aa5fd5e2e1ebd2bc3dd5e..5dc0bc52e8ef65eb2c71cd196863759700d46a6f 100644 (file)
@@ -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(