colmap: use pkgs.autoAddDriverRunpath

This commit is contained in:
Jonathan Ringer 2024-03-30 11:08:39 -07:00
parent c8f981bfaa
commit 47bd04c9d8
No known key found for this signature in database
GPG Key ID: 5C841D3CFDFEC4E0

View File

@ -1,7 +1,9 @@
{ mkDerivation, lib, fetchFromGitHub, cmake, boost179, ceres-solver, eigen,
freeimage, glog, libGLU, glew, qtbase,
autoAddDriverRunpath,
config,
cudaSupport ? config.cudaSupport, cudaPackages }:
cudaSupport ? config.cudaSupport, cudaPackages
}:
assert cudaSupport -> cudaPackages != { };
@ -37,7 +39,7 @@ mkDerivation rec {
nativeBuildInputs = [
cmake
] ++ lib.optionals cudaSupport [
cudaPackages.autoAddDriverRunpath
autoAddDriverRunpath
];
meta = with lib; {