Hide symbols unless in CS

This commit is contained in:
Mattia Montanari
2023-02-15 14:19:34 +01:00
parent eb27cec156
commit e3f47bd235

View File

@@ -61,6 +61,7 @@ endif()
# Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # Target . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
if(BUILD_MONO) if(BUILD_MONO)
set( CMAKE_C_VISIBILITY_PRESET default)
add_compile_definitions(CS_MONO_BUILD) add_compile_definitions(CS_MONO_BUILD)
endif(BUILD_MONO) endif(BUILD_MONO)