plasma-workspace: instead of 'query_qmake' CMakeLists.txt is using 'ecm_query_qt' now

This commit is contained in:
Andreas 2022-06-14 22:47:34 +02:00 committed by Peter Hoeg
parent bbded419f9
commit b7d0d7411b

View file

@ -57,7 +57,7 @@ mkDerivation {
# QT_INSTALL_BINS refers to qtbase, and qdbus is in qttools
postPatch = ''
substituteInPlace CMakeLists.txt \
--replace 'query_qmake(QtBinariesDir QT_INSTALL_BINS)' 'set(QtBinariesDir "${lib.getBin qttools}/bin")'
--replace 'ecm_query_qt(QtBinariesDir QT_INSTALL_BINS)' 'set(QtBinariesDir "${lib.getBin qttools}/bin")'
'';
NIX_CFLAGS_COMPILE = [