Commit 30619668 authored by Ben Boeckel's avatar Ben Boeckel

nvidiaindex: error if an unknown selection is made

parent ebeff9b0
......@@ -66,7 +66,10 @@ if (nvidiaindex_enabled)
list(APPEND nvidiaindex_libraries nvrtc-builtins64_80)
elseif (nvidiaindex_SOURCE_SELECTION STREQUAL "2.2")
list(APPEND nvidiaindex_libraries nvrtc-builtins64_90)
endif()
else ()
message(FATAL_ERROR
"Unknown nvrtc-builtins64 library for ${nvidiaindex_SOURCE_SELECTION}.")
endif ()
foreach (nvidiaindex_library IN LISTS nvidiaindex_libraries)
superbuild_windows_install_plugin("${nvidiaindex_library}.dll"
......
Markdown is supported
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