You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Stop calling target_link_libraries for a target from a different scope/
directory.
Fixes CMake warning:
```sh
-- Including the PI API CUDA backend.
CMake Warning (dev) at /home/bjoern/Dev/stateray/wip/llvm/sycl/plugins/cuda/CMakeLists.txt:39 (target_link_libraries):
Policy CMP0079 is not set: target_link_libraries allows use with targets in
other directories. Run "cmake --help-policy CMP0079" for policy details.
Use the cmake_policy command to set the policy and suppress this warning.
Target
sycl
is not created in this directory. For compatibility with older versions of
CMake, link library
pi_cuda
will be looked up in the directory in which the target was created rather
than in this calling directory.
This warning is for project developers. Use -Wno-dev to suppress it.
```
Signed-off-by: Bjoern Knafla <[email protected]>
0 commit comments