X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/2aefc0268e22dd27a6f3e7f0d60990c055c4ee4b..7d64988335beb37aedc891734932635a27cfd9cb:/CMakeLists.txt diff --git a/CMakeLists.txt b/CMakeLists.txt index 053c42fc59..8fbcead2e3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -800,7 +800,9 @@ if(enable_python) pybind11_add_module(python-bindings src/bindings/python/simgrid_python.cpp) target_compile_features(python-bindings PRIVATE cxx_std_14) target_link_libraries(python-bindings PUBLIC simgrid) - set_target_properties(python-bindings PROPERTIES LIBRARY_OUTPUT_NAME simgrid) + set_target_properties(python-bindings PROPERTIES + LIBRARY_OUTPUT_NAME simgrid + CXX_VISIBILITY_PRESET "default") add_dependencies(tests python-bindings) set_property(TARGET python-bindings APPEND PROPERTY INCLUDE_DIRECTORIES "${INTERNAL_INCLUDES}")