diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2016-11-04 20:23:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-11-14 21:40:49 (GMT) |
commit | a5e806b3f51d91814d8a39a4bb84363d530874bb (patch) | |
tree | cb1cb7c58957a4951d0e64fe4ff93671cdc7192a /Source/cmTarget.cxx | |
parent | d038559e49b0d0dd65124370f48a92ba3de9006c (diff) | |
download | CMake-a5e806b3f51d91814d8a39a4bb84363d530874bb.zip CMake-a5e806b3f51d91814d8a39a4bb84363d530874bb.tar.gz CMake-a5e806b3f51d91814d8a39a4bb84363d530874bb.tar.bz2 |
CUDA: Add support for CMAKE_CUDA_COMPILE_OPTIONS_VISIBILITY
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |