Commit 00a9e297 authored by Ben Boeckel's avatar Ben Boeckel

opengl: fix delay load logic

The `VTK::opengl` target is an `INTERFACE`, so it must use `INTERFACE`
usage requirements.

Fixes: #17644
parent b1730454
......@@ -51,10 +51,10 @@ else ()
if (VTK_USE_OPENGL_DELAYED_LOAD)
vtk_module_link(VTK::opengl
PRIVATE
INTERFACE
delayimp.lib)
vtk_module_link_options(VTK::opengl
PUBLIC
INTERFACE
"/DELAYLOAD:opengl32.dll")
endif ()
endif ()
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