Unverified Commit cb926372 authored by Aleksana's avatar Aleksana Committed by GitHub
Browse files

[Backport release-25.11] libirc: fix build for cmake4 (#466452)

parents 42c41ebb e1d49b3d
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -19,6 +19,10 @@ stdenv.mkDerivation {

  nativeBuildInputs = [ cmake ];

  postPatch = ''
    substituteInPlace CMakeLists.txt --replace-fail 'cmake_minimum_required(VERSION 3.0)' 'cmake_minimum_required(VERSION 3.10)'
  '';

  cmakeFlags = [
    "-DQT5_BUILD=1"
    "-DQt5Core_DIR=${qtbase.dev}/lib/cmake/Qt5Core"