diff options
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 0842aae7..1aa568f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -133,7 +133,7 @@ ELSE() CHECK_C_SOURCE_COMPILES("int foo() __attribute__((visibility(\"default\"))); int main() {return 0;}" HAVE_GCC_VISIBILITY) IF(HAVE_GCC_VISIBILITY) - ADD_DEFINITIONS(-fvisibility=hidden -DHAVE_GCC_VISIBILITY) + ADD_DEFINITIONS(-fvisibility=internal -DHAVE_GCC_VISIBILITY) ENDIF() ENDIF() ENDIF() |