diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a48d5b..3aa13d3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -61,6 +61,7 @@ endif() # Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . if(BUILD_MONO) + set( CMAKE_C_VISIBILITY_PRESET default) add_compile_definitions(CS_MONO_BUILD) endif(BUILD_MONO)