We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1cba81 commit 08e11beCopy full SHA for 08e11be
drake_cmake_installed/src/simple_bindings/CMakeLists.txt
@@ -37,6 +37,8 @@ pybind11_add_module(example_module MODULE example_module.cc)
37
# `pybind11_INCLUDE_DIRS` and cps2cmake defines this as an empty string,
38
# we must explicitly link it to `pybind11::module`.
39
target_link_libraries(example_module PUBLIC drake::drake pybind11::module)
40
+# Revert visibilty preset (workaround for RobotLocomotion/drake#8540).
41
+set_target_properties(example_module PROPERTIES CXX_VISIBILITY_PRESET "default")
42
43
add_test(NAME example_module_test COMMAND
44
"${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_SOURCE_DIR}/example_module_test.py")
0 commit comments