]> git.lyx.org Git - features.git/blobdiff - CMakeLists.txt
Revert "Enable optimizations"
[features.git] / CMakeLists.txt
index d3aa1928fb81bd7a9bf38653fe52e56c5a1dd674..8553efdf4a96f6c4b51c32b2406d4efdbfb9a1eb 100644 (file)
@@ -6,6 +6,11 @@
 
 cmake_minimum_required(VERSION 3.1.0)
 
+set(CMAKE_CXX_STANDARD 20)
+set(GNUWIN32_DIR D:/LyX/lyx-unstable/lyx-windows-deps-msvc2017)
+set(LYX_USE_QT "QT5")
+set(LYX_REQUIRE_SPELLCHECK true)
+
 set(LYX_PROJECT LyX)
 
 # Instruct cmake to not use gnu extensions,
@@ -984,7 +989,7 @@ if(WIN32)
                # -DPSAPI_VERSION=1 is not needed for mingw, since the mingw psapi.h
                # does not use it and always declares the vista compatible API.
                # If this ever changes then -DPSAPI_VERSION might be needed here as well.
-               add_definitions(-DWINVER=0x0500)
+               add_definitions(-DWINVER=0x0600)
        endif()
 endif()