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

This commit is contained in:
Aleksana 2025-11-30 02:05:18 +00:00 committed by GitHub
commit cb92637209
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"