I am trying to compile with OpenMP. My CMakeLists.txt contains the line
CMakeLists.txt
find_package(OpenMP REQUIRED)
and CMake errors out with
You should install libomp with brew install libomp
i use macOS and it worked smoothly for me.