build opencv in debug mode
This commit is contained in:
parent
844cad9621
commit
67c5bd07d0
|
@ -77,7 +77,7 @@ let
|
|||
cryfs
|
||||
sshuttle
|
||||
thefuck
|
||||
gnupg
|
||||
gnupg
|
||||
unar
|
||||
pwgen
|
||||
pandoc
|
||||
|
@ -186,7 +186,8 @@ let
|
|||
|
||||
# TODO: make a nix-shell expression out of this
|
||||
computerVisionTooling = [
|
||||
(enableDebugging (opencv3.override {enablePython=true; enableDocs=true; pythonPackages=pkgs.python3Packages;}))
|
||||
# build with debug symbols and in debug mode (less optimized)
|
||||
(enableDebugging ((opencv3.override {enablePython=true; enableDocs=true; pythonPackages=pkgs.python3Packages; }).overrideAttrs (oldAttrs: rec {cmakeBuildType = "Debug";})))
|
||||
];
|
||||
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue