Skip to content

Clang/CUDA: Fix language-wide flags when linking .so with compiler driver

In !9885 (merged) we added the wrong placeholder to CMAKE_CUDA_CREATE_SHARED_LIBRARY to represent the language-wide flags. The <FLAGS> placeholder is for executables. The <LANGUAGE_COMPILE_FLAGS> placeholder is for shared libraries. The distinction is for historical reasons.

Fixes: #26563 (closed)
Backport: release

Merge request reports

Loading