diff options
author | mathvich <mathvich@gmail.com> | 2021-11-09 17:35:44 +0300 |
---|---|---|
committer | mathvich <mathvich@gmail.com> | 2021-11-09 17:35:44 +0300 |
commit | 90aaaefc8168464c136ea33b2424f36800a633bc (patch) | |
tree | e971275f2b2b11e90fa493aff8f4ae9413d41ca5 | |
parent | bd6ccf26129e0c7f218919288b255c7d8e2a6e8d (diff) | |
download | raptor-90aaaefc8168464c136ea33b2424f36800a633bc.tar.gz |
Fix for CMake build on Windows
HAVE_TIME_H definition added
-rw-r--r-- | CMakeLists.txt | 1 | ||||
-rw-r--r-- | src/raptor_config_cmake.h.in | 1 |
2 files changed, 2 insertions, 0 deletions
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 |