cmake HAVE_TIMESPEC_GET examples

Stellarium/stellarium src/external/CMakeLists.txt :102

check_symbol_exists(timespec_get time.h HAVE_TIMESPEC_GET)

Stellarium/stellarium src/external/CMakeLists.txt :195

target_compile_definitions(indiclient
          PUBLIC
            $<$<BOOL:${HAVE_TIMESPEC_GET}>:HAVE_TIMESPEC_GET>
            $<$<BOOL:${HAVE_CLOCK_GETTIME}>:HAVE_CLOCK_GETTIME>
        )

scp-fs2open/fs2open.github.com lib/openxr/src/CMakeLists.txt :328

check_symbol_exists(timespec_get time.h HAVE_TIMESPEC_GET)

RavEngine/RavEngine deps/OpenXR-SDK/src/CMakeLists.txt :304

check_symbol_exists(timespec_get time.h HAVE_TIMESPEC_GET)

rbfx/rbfx Source/ThirdParty/OpenXRSDK/src/CMakeLists.txt :326

check_symbol_exists(timespec_get time.h HAVE_TIMESPEC_GET)