cmake HAVE_TLS examples

chdb-io/chdb contrib/mariadb-connector-c-cmake/CMakeLists.txt :110

add_definitions(-DHAVE_OPENSSL -DHAVE_TLS)

SwagSoftware/Kisak-Strike thirdparty/gperftools-2.8.1/CMakeLists.txt :413

check_c_source_compiles("static __thread int p = 0;" HAVE_TLS)

ucla-vision/xivo thirdparty/gperftools/CMakeLists.txt :366

check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)

darktable-org/darktable src/CMakeLists.txt :628

check_c_source_compiles("
static __thread int tls;
int main(void)
{
  return 0;
}" HAVE_TLS)

p4lang/open-p4studio pkgsrc/target-syslibs/third-party/gperftools/CMakeLists.txt :366

check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)

percona/percona-server extra/gperftools/gperftools-2.15/CMakeLists.txt :389

check_c_source_compiles("static __declspec(thread) int p = 0; int main() {}" HAVE_TLS)

percona/percona-server extra/gperftools/gperftools-2.15/CMakeLists.txt :391

check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)

logicalclocks/rondb extra/gperftools/gperftools-2.15/CMakeLists.txt :389

check_c_source_compiles("static __declspec(thread) int p = 0; int main() {}" HAVE_TLS)

logicalclocks/rondb extra/gperftools/gperftools-2.15/CMakeLists.txt :391

check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)

percona/percona-xtrabackup extra/gperftools/gperftools-2.15/CMakeLists.txt :389

check_c_source_compiles("static __declspec(thread) int p = 0; int main() {}" HAVE_TLS)

percona/percona-xtrabackup extra/gperftools/gperftools-2.15/CMakeLists.txt :391

check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)

ClickHouse/ClickHouse contrib/mariadb-connector-c-cmake/CMakeLists.txt :110

add_definitions(-DHAVE_OPENSSL -DHAVE_TLS)

sahlberg/libnfs CMakeLists.txt :90

add_definitions(-DHAVE_TLS)

Geant4/geant4 cmake/Modules/G4BuildSettings.cmake :347

check_cxx_source_compiles("__thread int i; int main(){return 0;}" HAVE_TLS)

percona/percona-xtradb-cluster extra/gperftools/gperftools-2.15/CMakeLists.txt :389

check_c_source_compiles("static __declspec(thread) int p = 0; int main() {}" HAVE_TLS)

percona/percona-xtradb-cluster extra/gperftools/gperftools-2.15/CMakeLists.txt :391

check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)

mysql/mysql-server extra/gperftools/gperftools-2.15/CMakeLists.txt :389

check_c_source_compiles("static __declspec(thread) int p = 0; int main() {}" HAVE_TLS)

mysql/mysql-server extra/gperftools/gperftools-2.15/CMakeLists.txt :391

check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)