瀏覽代碼

CUDA: Add issue number to Clang separable compilation error

Raul Tambre 5 年之前
父節點
當前提交
fec7dd33d3
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Source/cmLocalGenerator.cxx

+ 2 - 1
Source/cmLocalGenerator.cxx

@@ -1997,7 +1997,8 @@ void cmLocalGenerator::AddLanguageFlags(std::string& flags,
       if (separable) {
         this->Makefile->IssueMessage(
           MessageType::FATAL_ERROR,
-          "CUDA_SEPARABLE_COMPILATION isn't supported on Clang.");
+          "CUDA_SEPARABLE_COMPILATION isn't supported on Clang. "
+          "See CMake issue #20726.");
       }
     }
   }