From 5e07e3c4e0e04e71f42431a892d5f4b18ea15b06 Mon Sep 17 00:00:00 2001 From: sowle Date: Sat, 4 May 2024 02:05:17 +0200 Subject: [PATCH] an attempt to fix linux build --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59d61a4e..843659dc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -264,6 +264,7 @@ elseif(NOT MSVC) endif() if(BUILD_GUI) + cmake_minimum_required(VERSION 3.1) # <-- this is important for Linux GUI build, don't touch it -- sowle find_package(Qt5Widgets REQUIRED) find_package(Qt5WebEngineWidgets REQUIRED) find_package(Qt5WebChannel REQUIRED)