cmake HAVE___ATTRIBUTE__VISIBILITY_DEFAULT examples

ucla-vision/xivo thirdparty/glog/CMakeLists.txt :154

check_cxx_source_compiles ("
#include <cstdlib>
static void foo(void) __attribute__ ((visibility(\"default\")));
int main(void) { return 0; }
" HAVE___ATTRIBUTE__VISIBILITY_DEFAULT)

chatopera/clause thirdparty/glog/CMakeLists.txt :131

check_c_source_compiles ("
#include <stdlib.h>
static void foo(void) __attribute__ ((visibility(\"default\")));
int main(void) { return 0; }
" HAVE___ATTRIBUTE__VISIBILITY_DEFAULT)

chatopera/clause thirdparty/glog/CMakeLists.txt :540

endif (HAVE___ATTRIBUTE__VISIBILITY_DEFAULT)

feelpp/feelpp feelpp/contrib/glog/CMakeLists.txt :132

check_c_source_compiles ("
#include <stdlib.h>
static void foo(void) __attribute__ ((visibility(\"default\")));
int main(void) { return 0; }
" HAVE___ATTRIBUTE__VISIBILITY_DEFAULT)

feelpp/feelpp feelpp/contrib/glog/CMakeLists.txt :447

endif (HAVE___ATTRIBUTE__VISIBILITY_DEFAULT)