hosseinmoein / DataFrame

C++ DataFrame for statistical, Financial, and ML analysis -- in modern C++ using native types and contiguous memory storage
https://hosseinmoein.github.io/DataFrame/
BSD 3-Clause "New" or "Revised" License
2.46k stars 310 forks source link

CMake: inject HMDF_HAVE_CLOCK_GETTIME definition #172

Closed SpaceIm closed 2 years ago

SpaceIm commented 2 years ago

HMDF_HAVE_CLOCK_GETTIME definition is not injected currently.

check_symbol_exists(clock_gettime "time.h" HMDF_HAVE_CLOCK_GETTIME) only set CMake variable HMDF_HAVE_CLOCK_GETTIME to 1 or 0, but it doesn't mean that a definition with the same name is magically injected during build of DataFrame.