dsview: fix build with cmake 4

This commit is contained in:
Karolis Stasaitis
2025-10-21 09:40:37 +02:00
parent abedc8e22b
commit e687f1f593
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,13 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d12bd0db..f904000b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,7 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>.
##
-cmake_minimum_required(VERSION 2.8.6)
+cmake_minimum_required(VERSION 3.10)
project(DSView)
@@ -31,6 +31,7 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
# Fix absolute install paths
./install.patch
./cmake4.patch
];
# /build/source/libsigrok4DSL/strutil.c:343:19: error: implicit declaration of function 'strcasecmp'; did you mean 'g_strcasecmp'? []