mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
Ensure OpenMP is imported
This commit is contained in:
parent
88b9a2f42f
commit
e40cdbc0f9
@ -105,6 +105,14 @@ if (VTKm_ENABLE_TBB)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (VTKm_ENABLE_OPENMP)
|
||||
find_dependency(OpenMP)
|
||||
if (NOT OpenMP_FOUND)
|
||||
set(VTKm_FOUND 0)
|
||||
list(APPEND VTKm_NOT_FOUND_REASON "OpenMP not found: ${OpenMP_NOT_FOUND_MESSAGE}")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if (VTKm_ENABLE_ANARI)
|
||||
find_dependency(anari)
|
||||
if (NOT anari_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user