Commit 17f02692 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

skip `ospray_module_mpi` is not enabled.

We need this extra check on Windows to avoid looking for absent dll. On
all other platforms we already have checks.
parent 942f1560
......@@ -112,8 +112,11 @@ if (ospray_enabled)
openvkl_module_ispc_driver
ospray_module_denoiser
ospray_module_ispc
ospray_module_mpi
rkcommon)
if (ospraymodulempi_enabled)
list(APPEND osprayextra_libraries
ospray_module_mpi)
endif ()
foreach (osprayextra_library IN LISTS osprayextra_libraries)
superbuild_windows_install_plugin("${osprayextra_library}.dll"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment