Commit e1d49b3d authored by Jappie3's avatar Jappie3 Committed by github-actions[bot]
Browse files

libirc: fix build for cmake4

(cherry picked from commit 38597954)
parent 42c41ebb
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"