Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
3de8fa36
Commit
3de8fa36
authored
Jun 28, 2018
by
Davis King
Browse files
Set visibility to hidden for cuda as well as c++.
parent
a60be341
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
dlib/external/pybind11/tools/pybind11Tools.cmake
dlib/external/pybind11/tools/pybind11Tools.cmake
+1
-0
No files found.
dlib/external/pybind11/tools/pybind11Tools.cmake
View file @
3de8fa36
...
@@ -145,6 +145,7 @@ function(pybind11_add_module target_name)
...
@@ -145,6 +145,7 @@ function(pybind11_add_module target_name)
# namespace; also turning it on for a pybind module compilation here avoids
# namespace; also turning it on for a pybind module compilation here avoids
# potential warnings or issues from having mixed hidden/non-hidden types.
# potential warnings or issues from having mixed hidden/non-hidden types.
set_target_properties
(
${
target_name
}
PROPERTIES CXX_VISIBILITY_PRESET
"hidden"
)
set_target_properties
(
${
target_name
}
PROPERTIES CXX_VISIBILITY_PRESET
"hidden"
)
set_target_properties
(
${
target_name
}
PROPERTIES CUDA_VISIBILITY_PRESET
"hidden"
)
if
(
WIN32 OR CYGWIN
)
if
(
WIN32 OR CYGWIN
)
# Link against the Python shared library on Windows
# Link against the Python shared library on Windows
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment