From 90aaaefc8168464c136ea33b2424f36800a633bc Mon Sep 17 00:00:00 2001 From: mathvich Date: Tue, 9 Nov 2021 17:35:44 +0300 Subject: Fix for CMake build on Windows HAVE_TIME_H definition added --- CMakeLists.txt | 1 + src/raptor_config_cmake.h.in | 1 + 2 files changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93aa65d1..c7422108 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -72,6 +72,7 @@ CHECK_INCLUDE_FILE(stddef.h HAVE_STDDEF_H) CHECK_INCLUDE_FILE(stdlib.h HAVE_STDLIB_H) CHECK_INCLUDE_FILE(string.h HAVE_STRING_H) CHECK_INCLUDE_FILE(unistd.h HAVE_UNISTD_H) +CHECK_INCLUDE_FILE(time.h HAVE_TIME_H) CHECK_INCLUDE_FILE(sys/param.h HAVE_SYS_PARAM_H) CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H) CHECK_INCLUDE_FILE(sys/stat.h HAVE_SYS_STAT_H) diff --git a/src/raptor_config_cmake.h.in b/src/raptor_config_cmake.h.in index e4559c14..8e8e57da 100644 --- a/src/raptor_config_cmake.h.in +++ b/src/raptor_config_cmake.h.in @@ -14,6 +14,7 @@ #cmakedefine HAVE_STRING_H #cmakedefine HAVE_UNISTD_H #cmakedefine HAVE_SYS_PARAM_H +#cmakedefine HAVE_TIME_H #cmakedefine HAVE_SYS_STAT_H #cmakedefine HAVE_SYS_STAT_H #cmakedefine HAVE_SYS_TIME_H -- cgit v1.2.1