79158932

Date: 2024-11-05 11:43:44
Score: 1.5
Natty:
Report link

It turns out the answer was not specify a path for the different variables, as was suggested in the posts I had found during my search. The answer (as mentioned in this post linked by @RichardBarber) was simply to specify the compiler's name in the command:

cmake -B build -DCMAKE_BUILD_TYPE=Release -DCC="clang" -DCXX="clang++" -DOpenMP_C_FLAGS=-fopenmp=lomp -DOpenMP_C_LIB_NAMES="libomp"

There was no need to assign the paths to any binaries or libraries.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @RichardBarber
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: isolated matrix