- I really recommend using a single build tree for generating this (either with Visual Studio and
--config
or by switchingCMAKE_BUILD_TYPE
and rerunning the install) - The
CMAKE_$<CONFIG>_POSTFIX
cache variable can be used to add custom suffixes based on the release. Alternatively,VTK_CUSTOM_LIBRARY_SUFFIX
could be used if that fails.
8.2 is probably robust with these settings. If something more is necessary, we can look at supporting it properly in 8.90+ since I suspect it behaves similarly in this situation. If it isn’t enough, I recommend narrowing down the libraries you bring in by using find_package(VTK COMPONENTS)
rather than importing every library built. Reducing how much of VTK is built is also a solution here (something probably worthwhile anyways).
I’m stepping out for a few days, but feel free to ping me and I’ll take a look when I’m back.