cmake HAVE_GCC_PROTECTED_VISIBILITY examples

Dreamtowards/Ethertia lib/openal-soft/CMakeLists.txt :338

check_c_source_compiles("int foo() __attribute__((visibility(\"protected\")));
                             int main() {return 0;}" HAVE_GCC_PROTECTED_VISIBILITY)

Froser/gamemachine src/3rdparty/openal-soft-1.19.1/CMakeLists.txt :369

CHECK_C_SOURCE_COMPILES("int foo() __attribute__((visibility(\"protected\")));
                             int main() {return 0;}" HAVE_GCC_PROTECTED_VISIBILITY)

dpjudas/SurrealEngine Thirdparty/openal-soft/CMakeLists.txt :353

check_c_source_compiles("int foo() __attribute__((visibility(\"protected\")));
                             int main() {return 0;}" HAVE_GCC_PROTECTED_VISIBILITY)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/doom3/neo/externlibs/openal-soft/CMakeLists.txt :354

check_c_source_compiles("int foo() __attribute__((visibility(\"protected\")));
                             int main() {return 0;}" HAVE_GCC_PROTECTED_VISIBILITY)

axmolengine/axmol 3rdparty/openal/CMakeLists.txt :378

check_c_source_compiles("int foo() __attribute__((visibility(\"protected\")));
                                int main() {return 0;}" HAVE_GCC_PROTECTED_VISIBILITY)