Author: Andreas Tille (respecting hint by Adrian Bunk) Bug-Debian: https://bugs.debian.org/1113040 Last-Update: 2025-10-26 Description: Fix build with CMake 4 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -19,7 +19,7 @@ # project (injeqt) -cmake_minimum_required (VERSION 2.8) +cmake_minimum_required (VERSION 3.5) set (INJEQT_SOVERSION "1") set (INJEQT_VERSION "1.2") @@ -30,9 +30,6 @@ option (DISABLE_EXAMPLES "Do not build e find_package (Qt5Core 5.2 REQUIRED) # do not link with qtmain on windows -if (POLICY CMP0020) - cmake_policy (SET CMP0020 OLD) -endif () if (POLICY CMP0043) cmake_policy (SET CMP0043 NEW) endif ()