aleator / CV

Haskell wrappers and utilities for OpenCV machine vision library
http://hackage.haskell.org/package/CV
BSD 3-Clause "New" or "Revised" License
51 stars 13 forks source link

Dependency on opencv_gpu #33

Closed TomMD closed 11 years ago

TomMD commented 11 years ago

The dep on opencv_gpu is inconvenient at best. Some systems don't have hardware to back up the software and the _gpu extension isn't compiled into many distribution opencv packages. Could we disable this by default or at least provide a flag to toggle it off conditionaly? I can provide a patch for either depending on what would be acceptable.

aleator commented 11 years ago

I think that's actually un-intentional. A patch that conditionally enables opencv_gpu would be the best.

Thanks for helping out!

aleator commented 11 years ago

I've added a flag to enable gpu in #28743b8 and disabled it as default otherwise. Please check if this works.