Hide symbols unless in CS

fixes-turtlebasket
Mattia Montanari 2023-02-15 14:19:34 +01:00
parent eb27cec156
commit e3f47bd235
1 changed files with 1 additions and 0 deletions

View File

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