qtkeychain: remove CMP0025 hack

This argument is already set by the cmake setup hook.
This commit is contained in:
Dmitry Kalinkin
2019-01-25 23:32:44 -05:00
parent b3eaad9a27
commit 467a23aaed

View File

@@ -20,13 +20,7 @@ stdenv.mkDerivation rec {
patches = if withQt5 then null else [ ./0001-Fixes-build-with-Qt4.patch ];
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"
]
;
cmakeFlags = [ "-DQT_TRANSLATIONS_DIR=share/qt/translations" ];
nativeBuildInputs = [ cmake ];