I am trying to build ITK-5.0.0 with TBB.
I have already successfully built TBB.
After cmake config I get this error
Could not find a package configuration file provided by "TBB" with any of the following names: TBBConfig.cmake tbb-config.cmake Add the installation prefix of "TBB" to CMAKE_PREFIX_PATH or set "TBB_DIR" to a directory containing one of the above files.
I have tried to compile by command line also
-DCMAKE_PREFIX_PATH=/home/hs/Dcuments/TBB \ -DModule_ITKTBB:BOOL=ON \
still the same error.
Can someone tell how to fix this?