How to select to use OpenMP or Intel TBB?

thanks, i try to build opencv with tbb, i set -DWITH_TBB=ON, i also download TBB, how ca i tell opencv where to find tbb?is there some other cmake option to set?