Correctly handle when to use `DEVICE_LINK` generator expression

7 jobs for handle_cmake_policy_105