Cmake windows build: Fix a cache variable

Thanks to Jürgen Womser-Schütz
This commit is contained in:
Kornel Benko 2019-06-24 10:36:37 +02:00
parent 8c5668ca59
commit f4254e6999

View 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(