diff --git a/lldb/cmake/modules/AddLLDB.cmake b/lldb/cmake/modules/AddLLDB.cmake --- a/lldb/cmake/modules/AddLLDB.cmake +++ b/lldb/cmake/modules/AddLLDB.cmake @@ -97,6 +97,7 @@ else() target_link_libraries(${name} PRIVATE ${PARAM_CLANG_LIBS}) endif() + set_target_properties(${name} PROPERTIES CXX_VISIBILITY_PRESET default) endif() # A target cannot be changed to a FRAMEWORK after calling install() because