Browse Source

CUDA: Add issue number to Clang separable compilation error

Raul Tambre 5 years ago
parent
commit
fec7dd33d3
1 changed files with 2 additions and 1 deletions
  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.");
       }
     }
   }