Merge pull request #54612 from veprbl/pr/qtkeychain_cleanup
qtkeychain: remove CMP0025 hack
This commit is contained in:
commit
e06af14ce7
@ -20,13 +20,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
patches = if withQt5 then null else [ ./0001-Fixes-build-with-Qt4.patch ];
|
patches = if withQt5 then null else [ ./0001-Fixes-build-with-Qt4.patch ];
|
||||||
|
|
||||||
cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ]
|
cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ];
|
||||||
++ stdenv.lib.optional stdenv.isDarwin [
|
|
||||||
# correctly detect the compiler
|
|
||||||
# for details see cmake --help-policy CMP0025
|
|
||||||
"-DCMAKE_POLICY_DEFAULT_CMP0025=NEW"
|
|
||||||
]
|
|
||||||
;
|
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user