Ensure OpenMP is imported
This commit is contained in:
parent
88b9a2f42f
commit
e40cdbc0f9
@ -105,6 +105,14 @@ if (VTKm_ENABLE_TBB)
|
|||||||
endif()
|
endif()
|
||||||
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)
|
if (VTKm_ENABLE_ANARI)
|
||||||
find_dependency(anari)
|
find_dependency(anari)
|
||||||
if (NOT anari_FOUND)
|
if (NOT anari_FOUND)
|
||||||
|
Loading…
Reference in New Issue
Block a user