Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at devShellTools-shell 21 lines 648 B view raw
1diff --git a/CMakeLists.txt b/CMakeLists.txt 2index 7065538..1946574 100644 3--- a/CMakeLists.txt 4+++ b/CMakeLists.txt 5@@ -19,14 +19,8 @@ set(EXECUTABLE_OUTPUT_PATH "${PROJECT_BINARY_DIR}") 6 set(VS_STARTUP_PROJECT ${EXECUTABLE_NAME}) 7 8 # Configure options 9-if (WIN32 OR APPLE) 10- set(QT_VERSION "6") 11-else () 12- set(QT_VERSION "5" CACHE STRING "Qt major version to use (5 or 6).") 13- if (NOT (QT_VERSION STREQUAL "5" OR QT_VERSION STREQUAL "6")) 14- message(FATAL_ERROR "Unsupported Qt version '${QT_VERSION}'. Only 5 and 6 are supported") 15- endif () 16-endif () 17+set(QT_VERSION "6") 18+ 19 if (APPLE) 20 option(DMG "Make deployable DMG" OFF) 21 endif ()