You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the following code chunk, there is a possibility a target is found but explicitly disabled. For example, I don't think you would append openmp if ENABLE_OPENMP=OFF despite OPENMP_FOUND=ON. Perhaps change OR to AND?
This shouldn't have openmp in it. We purposefully do not make any targets depend on openmp due to the issue with generator expressions. This will change soon with the new BLT macro.
This loop handles multiple generated variables between TPLs and internal builtin TPLs. The TPLs set the _FOUND variables and without verifying it, I think openmp was the only one with an ENABLE_ variable. This shouldn't cause an issue though because we are not setting OPENMP_FOUND and CMake's FindOpenMP.cmake sets OpenMP_FOUND.
Did you hit a bug that was showing a problem that made you look at this?
@white238 One of the TPLs I was linking against had -fopenmp, which is what caused the error. The loop makes sense the way it is, since otherwise I wouldn't have noticed my bug.
In the following code chunk, there is a possibility a target is found but explicitly disabled. For example, I don't think you would append openmp if
ENABLE_OPENMP=OFF
despiteOPENMP_FOUND=ON
. Perhaps change OR to AND?https://github.com/LLNL/axom/blob/9410ed3db64ca1ab33b6053d8fd3e452c20bb562/src/cmake/AxomConfig.cmake#L165C23-L165C23
The text was updated successfully, but these errors were encountered: