Commit e687f1f5 authored by Karolis Stasaitis's avatar Karolis Stasaitis
Browse files

dsview: fix build with cmake 4

parent abedc8e2
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
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)
 
+1 −0
Original line number Diff line number Diff line
@@ -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'? []