Give a target trace for missing targets.
Currently trying to figure out why i get:
CMake Error at D:/installed/x64-windows/share/vtk/VTK-targets.cmake:444 (set_target_properties):
The link interface of target "VTK::jsoncpp" contains:
JsonCpp::JsonCpp
but the target was not found. Possible reasons include:
* There is a typo in the target name.
* A find_package call is missing for an IMPORTED target.
* An ALIAS target is missing.
Call Stack (most recent call first):
D:/installed/x64-windows/share/vtk/vtk-config.cmake:136 (include)
C:/a/2/s/scripts/buildsystems/vcpkg.cmake:829 (_find_package)
D:/installed/x64-windows/share/pcl/PCLConfig.cmake:274 (find_package)
D:/installed/x64-windows/share/pcl/PCLConfig.cmake:323 (find_VTK)
D:/installed/x64-windows/share/pcl/PCLConfig.cmake:523 (find_external_library)
C:/a/2/s/scripts/buildsystems/vcpkg.cmake:829 (_find_package)
CMakeLists.txt:227 (FIND_PACKAGE)
https://github.com/microsoft/vcpkg/pull/27928#issuecomment-1331766665
and found the message from CMake not helpful since the problem is somewhere completly different (OpenCV4 not calling for VTK for some reason I have still to figure out.)