mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-12 07:54:50 +00:00
digikam: add conditional cmake flag for cudaSupport
This commit is contained in:
parent
66d813d978
commit
5fbc2731f4
@ -37,6 +37,8 @@
|
||||
x265,
|
||||
libGLX,
|
||||
libGLU,
|
||||
cudaPackages,
|
||||
enableCuda ? config.cudaSupport,
|
||||
|
||||
kdePackages,
|
||||
|
||||
@ -178,6 +180,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
#(lib.cmakeBool "ENABLE_AKONADICONTACTSUPPORT" true)
|
||||
(lib.cmakeBool "ENABLE_MEDIAPLAYER" true)
|
||||
(lib.cmakeBool "ENABLE_APPSTYLES" true)
|
||||
(lib.optionals enableCuda "-DCUDA_TOOLKIT_ROOT_DIR=${cudaPackages.cudatoolkit}")
|
||||
];
|
||||
|
||||
# Tests segfault for some reason…
|
||||
|
Loading…
Reference in New Issue
Block a user