mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
qtkeychain: remove CMP0025 hack
This argument is already set by the cmake setup hook.
This commit is contained in:
parent
b3eaad9a27
commit
467a23aaed
1 changed files with 1 additions and 7 deletions
|
@ -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 ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue