Open Neumann-A opened 4 years ago
Also needs to link OneCoreUAP.lib
on Windows 10 in static builds
Also needs to link
OneCoreUAP.lib
on Windows 10 in static builds
Fixed by https://github.com/microsoft/vcpkg/pull/31637.
CMake's findOpenCL does not correctly take care of release/debug libraries. As such the wrapper already installed by vcpkg needs additional logic to take care that the target consists of both release and debug information. The same need to be applied to the
_LIBRARIES
variable.
Mitigation: #40042 makes the port install upstream's CMake config.
Issue: CMake's findOpenCL does not correctly take care fof release/debug libraries. As such the wrapper already installed by vcpkg needs additional logic to take care that the target consists of both release and debug information. The same need to be applied to the
_LIBRARIES
variable.Is your feature request related to a problem? Please describe. Incomplete target information in
INTERFACE_LINK_LIBRARIES
in the targets generated by ITKProposed solution Add the Information to the
_LIBRARIES
variable viaselectLibraryconfigurations
and also add the info to the OpenCL imported targetDescribe alternatives you've considered there is not alternativ to make it correctly work.