cmake HAVE_LOCALTIME_R examples

CUBRID/cubrid CMakeLists.txt :452

check_function_exists(localtime_r HAVE_LOCALTIME_R)

tanis2000/binocle-c src/deps/sdl/CMakeLists.txt :1089

check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)

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

check_cxx_source_compiles ("
#include <cstdlib>
#include <time.h>
int main()
{
    time_t timep;
    struct tm result;
    localtime_r(&timep, &result);
    return EXIT_SUCCESS;
}
" HAVE_LOCALTIME_R)

Hork-Engine/Hork-Source ThirdParty/SDL3/CMakeLists.txt :1052

check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)

cvet/fonline ThirdParty/SDL/CMakeLists.txt :1097

check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)

etternagame/etterna extern/curl/CMakeLists.txt :1071

check_symbol_exists(localtime_r   "${CURL_INCLUDES}" HAVE_LOCALTIME_R)

SWI-Prolog/swipl-devel cmake/Config.cmake :254

check_function_exists(localtime_r HAVE_LOCALTIME_R)

danigm/poppler ConfigureChecks.cmake :32

check_function_exists(localtime_r HAVE_LOCALTIME_R)

arkdb/inception configure.cmake :426

CHECK_FUNCTION_EXISTS (localtime_r HAVE_LOCALTIME_R)

NauEngine/NauEditorPublic editor/external/libzipconfig/CMakeLists.txt :117

check_symbol_exists(localtime_r time.h HAVE_LOCALTIME_R)

mxcop/src-dgi extern/sdl/CMakeLists.txt :1049

check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)

pingcap/tiflash contrib/curl-cmake/CMakeLists.txt :1079

check_symbol_exists(localtime_r   "${CURL_INCLUDES}" HAVE_LOCALTIME_R)

google/glog CMakeLists.txt :295

check_cxx_symbol_exists (localtime_r "cstdlib;ctime" HAVE_LOCALTIME_R)

RavEngine/RavEngine deps/SDL/CMakeLists.txt :1097

check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)

qpdf/qpdf libqpdf/CMakeLists.txt :319

check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)

nih-at/libzip CMakeLists.txt :129

check_symbol_exists(localtime_r time.h HAVE_LOCALTIME_R)

alibaba/AliSQL configure.cmake :531

CHECK_FUNCTION_EXISTS (localtime_r HAVE_LOCALTIME_R)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/deplibs/libsndfile/cmake/SndFileChecks.cmake :157

check_function_exists (localtime_r		HAVE_LOCALTIME_R)

glKarin/com.n0n3m4.diii4a Q3E/src/main/jni/source/thirdparty/curl/CMakeLists.txt :1030

check_symbol_exists(localtime_r   "${CURL_INCLUDES}" HAVE_LOCALTIME_R)

cadaver/turso3d ThirdParty/SDL/CMakeLists.txt :1050

check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)

crossuo/crossuo deps/cmcurl/CMakeLists.txt :986

check_symbol_exists(localtime_r   "${CURL_INCLUDES}" HAVE_LOCALTIME_R)

AtomicGameEngine/AtomicGameEngine Source/ThirdParty/libcurl/LibCurl.cmake :997

check_symbol_exists(localtime_r   "${CURL_INCLUDES}" HAVE_LOCALTIME_R)

AshamaneProject/AshamaneCore dep/cpr/opt/curl/CMakeLists.txt :853

check_symbol_exists(localtime_r   "${CURL_INCLUDES}" HAVE_LOCALTIME_R)

DCMTK/dcmtk CMake/GenerateDCMTKConfigure.cmake :536

CHECK_FUNCTION_EXISTS(localtime_r HAVE_LOCALTIME_R)

ComputationalBiomechanicsLab/opensim-creator third_party/SDL/CMakeLists.txt :1097

check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)

wxWidgets/wxWidgets build/cmake/setup.cmake :450

check_symbol_exists(localtime_r time.h HAVE_LOCALTIME_R)

Tokutek/mysql-5.5 configure.cmake :367

CHECK_FUNCTION_EXISTS (localtime_r HAVE_LOCALTIME_R)

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

check_cxx_source_compiles ("
#include <cstdlib>
#include <time.h>
int main()
{
    time_t timep;
    struct tm result;
    localtime_r(&timep, &result);
    return EXIT_SUCCESS;
}
" HAVE_LOCALTIME_R)

MRPT/mrpt cmakemodules/script_detect_functions_headers.cmake :33

check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)

PacktPublishing/The-Modern-Cpp-Challenge libs/curl/CMakeLists.txt :851

check_symbol_exists(localtime_r   "${CURL_INCLUDES}" HAVE_LOCALTIME_R)

Sneeds-Feed-and-Seed/sneedacity cmake-proxies/sqlite/CMakeLists.txt :20

list( APPEND DEFINES
   PRIVATE
      #
      # We need the dbpage table for space calculations.
      #
      SQLITE_ENABLE_DBPAGE_VTAB=1

      # Can't be set after a WAL mode database is initialized, so change
      # the default here to ensure all project files get the same page 
      # size.
      SQLITE_DEFAULT_PAGE_SIZE=65536

      #
      # Recommended in SQLite docs
      #
      SQLITE_DQS=0
      SQLITE_DEFAULT_MEMSTATUS=0
      SQLITE_DEFAULT_SYNCHRONOUS=1
      SQLITE_DEFAULT_WAL_SYNCHRONOUS=1
      SQLITE_LIKE_DOESNT_MATCH_BLOBS
      SQLITE_MAX_EXPR_DEPTH=0
      SQLITE_OMIT_DEPRECATED
      SQLITE_OMIT_SHARED_CACHE
      SQLITE_USE_ALLOCA
      SQLITE_OMIT_AUTOINIT
      $<$<BOOL:${HAVE_FDATASYNC}>:HAVE_FDATASYNC>
      $<$<BOOL:${HAVE_GMTIME_R}>:HAVE_GMTIME_R>
      $<$<BOOL:${HAVE_ISNAN}>:HAVE_ISNAN>
      $<$<BOOL:${HAVE_LOCALTIME_R}>:HAVE_LOCALTIME_R>
      $<$<BOOL:${HAVE_LOCALTIME_S}>:HAVE_LOCALTIME_S>
)

Sneeds-Feed-and-Seed/sneedacity lib-src/libsndfile/cmake/SndFileChecks.cmake :126

check_function_exists (localtime_r		HAVE_LOCALTIME_R)

godlikepanos/anki-3d-engine ThirdParty/Sdl3/CMakeLists.txt :1097

check_symbol_exists(localtime_r "time.h" HAVE_LOCALTIME_R)

Ravbug/UnityHubNative wxWidgets/build/cmake/setup.cmake :450

check_symbol_exists(localtime_r time.h HAVE_LOCALTIME_R)

bareos/bareos core/cmake/BareosCheckFunctions.cmake :68

check_function_exists(localtime_r HAVE_LOCALTIME_R)

flyinghead/flycast core/deps/libzip/CMakeLists.txt :117

check_symbol_exists(localtime_r time.h HAVE_LOCALTIME_R)