| 1 |
Author: Andreas Tille <[email protected]> |
| 2 |
(respecting hint by Adrian Bunk) |
| 3 |
Bug-Debian: https://bugs.debian.org/1113040 |
| 4 |
Last-Update: 2025-10-26 |
| 5 |
Description: Fix build with CMake 4 |
| 6 |
|
| 7 |
--- a/CMakeLists.txt |
| 8 |
+++ b/CMakeLists.txt |
| 9 |
@@ -19,7 +19,7 @@ |
| 10 |
# |
| 11 |
|
| 12 |
project (injeqt) |
| 13 |
|
| 14 |
+cmake_minimum_required (VERSION 3.5) |
| 15 |
|
| 16 |
set (INJEQT_SOVERSION "1") |
| 17 |
set (INJEQT_VERSION "1.2") |
| 18 |
@@ -30,9 +30,6 @@ option (DISABLE_EXAMPLES "Do not build e |
| 19 |
find_package (Qt5Core 5.2 REQUIRED) |
| 20 |
|
| 21 |
# do not link with qtmain on windows |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
if (POLICY CMP0043) |
| 26 |
cmake_policy (SET CMP0043 NEW) |
| 27 |
endif () |