From a5e806b3f51d91814d8a39a4bb84363d530874bb Mon Sep 17 00:00:00 2001 From: Robert Maynard Date: Fri, 4 Nov 2016 16:23:00 -0400 Subject: CUDA: Add support for CMAKE_CUDA_COMPILE_OPTIONS_VISIBILITY --- Source/cmTarget.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 48acc6e..3741c33 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -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); } -- cgit v0.12