aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-02-07 13:55:48 -0800
committerChris Robinson <[email protected]>2011-02-07 13:55:48 -0800
commitb21424929091ad0752199e0da78cb2f9d10421eb (patch)
treec9ed36340b6002b860ebd46df4e6bc914056a208
parent8dad1c382bdca0d792c243c63afd8d6ea0bd68c2 (diff)
Check for internal visibility, since that's what is used
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index de6c83b0..e0d3e825 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -128,7 +128,7 @@ ELSE()
# Set visibility options if available
IF(NOT WIN32)
- CHECK_C_COMPILER_FLAG(-fvisibility=hidden HAVE_VISIBILITY_SWITCH)
+ CHECK_C_COMPILER_FLAG(-fvisibility=internal HAVE_VISIBILITY_SWITCH)
IF(HAVE_VISIBILITY_SWITCH)
CHECK_C_SOURCE_COMPILES("int foo() __attribute__((visibility(\"default\")));
int main() {return 0;}" HAVE_GCC_VISIBILITY)