mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 22:58:37 -05:00
CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variable
Use its value to initialize the `CUDA_SEPARABLE_COMPILATION` target property when targets are created. Fixes: #17478
This commit is contained in:
@@ -279,6 +279,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
|
||||
this->SetPropertyDefault("CUDA_STANDARD_REQUIRED", nullptr);
|
||||
this->SetPropertyDefault("CUDA_EXTENSIONS", nullptr);
|
||||
this->SetPropertyDefault("CUDA_COMPILER_LAUNCHER", nullptr);
|
||||
this->SetPropertyDefault("CUDA_SEPARABLE_COMPILATION", nullptr);
|
||||
this->SetPropertyDefault("LINK_SEARCH_START_STATIC", nullptr);
|
||||
this->SetPropertyDefault("LINK_SEARCH_END_STATIC", nullptr);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user