Opencv compiled with openmp not work in cv::parallel_for

I use cmake-gui to build opencv on NVIDIA Jetsion Xavier NX, and tick WITH OPENMP option.After, I loop simple cv::resize (source image size:1280x1024, destination image size:10000x10000, INTER_LINRAR). However, I find that only one core of CPU is 100%. It seems that cv::parallel_for not use openmp in cv::resize(). The code seems to say that macro HAVE_OPENMP must exist. So how can I use parallel_for with openmp?