CUDA: Add support for CMAKE_CUDA_COMPILE_OPTIONS_VISIBILITY

This commit is contained in:
Robert Maynard 2016-11-04 16:23:00 -04:00 committed by Brad King
parent d038559e49
commit a5e806b3f5

View File

@ -360,6 +360,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
this->GetType() != cmStateEnums::UTILITY) {
this->SetPropertyDefault("C_VISIBILITY_PRESET", CM_NULLPTR);
this->SetPropertyDefault("CXX_VISIBILITY_PRESET", CM_NULLPTR);
this->SetPropertyDefault("CUDA_VISIBILITY_PRESET", CM_NULLPTR);
this->SetPropertyDefault("VISIBILITY_INLINES_HIDDEN", CM_NULLPTR);
}