• Manolis Stamatogiannakis's avatar
    Fix compile error with external TBB and -DBUILD_SHARED_LIBS=OFF. · ef16e420
    Manolis Stamatogiannakis authored
    Adds IMPORTED for the TBB::tbb alias target as otherwise cmake produces
    the following error:
    
    CMake Error: install(EXPORT "OpenCVModules" ...) includes target "opencv_core" which requires target "tbb" that is not in the export set.
    
    This problem occurs with the defaults used by homebrew on macOS, which
    compiles both static and shared versions of TBB and OpenCV.
    ef16e420
Name
Last commit
Last update
.github Loading commit data...
3rdparty Loading commit data...
apps Loading commit data...
cmake Loading commit data...
data Loading commit data...
doc Loading commit data...
include Loading commit data...
modules Loading commit data...
platforms Loading commit data...
samples Loading commit data...
.editorconfig Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
CMakeLists.txt Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...