What is the state-of-the-art way to check with cmake which features are compiled into the ITK-library found on the system, spicifically if ITK was compiled with GPU support?
Concerning enabled modules I am using this approach:
However, that seems not to work for checking if GPU code was enabled in ITK and my old way
does not work any more (always returns true).
Thanks for any help or hints.
All posts I could find with google concern building ITK with GPU support, but I want to check the capabilities of the ITK library found on the system by a project that (optionally) builds on ITK-GPU features.