• Y
    Merge pull request #23095 from fengyuentau:fix_omp_macos · c63d79c5
    Yuantao Feng 提交于
    * fix openmp include and link issue on macos
    
    * turn off have_openmp if OpenMP_CXX_INCLUDE_DIRS is empty
    
    * test commit
    
    * use condition HAVE_OPENMP and OpenMP_CXX_LIBRARIES for linking
    
    * remove trailing whitespace
    
    * remove notes
    
    * update conditions
    
    * use OpenMP_CXX_LIBRARIES for linking
    c63d79c5
CMakeLists.txt 8.7 KB