How to select to use OpenMP or Intel TBB?

i have meet the same question, how to activate/select to use OpenMP or Intel TBB in my OpenCV code, have you solve this problem?