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 70932c2 commit 8e10978Copy full SHA for 8e10978
cmake/cage_target_api_macro.cmake
@@ -4,7 +4,7 @@ if(MSVC)
4
target_compile_definitions(${target} PRIVATE "${macroname}=__declspec(dllexport)")
5
target_compile_definitions(${target} INTERFACE "${macroname}=__declspec(dllimport)")
6
else()
7
- target_compile_definitions(${target} PUBLIC "${macroname}=[[gnu::visibility(\"default\")]]")
+ target_compile_definitions(${target} PUBLIC "${macroname}=[[gnu::visibility(\"protected\")]]")
8
endif()
9
endmacro(cage_target_api_macro)
10
0 commit comments