This line causes the following error when building custom projects that use OpenCV beta 3: ld: warning: directory not found for option '-L/<project_root>/-Wl,/usr/local/cuda'