Hide symbols unless in CS
parent
eb27cec156
commit
e3f47bd235
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue