commit | 67acb227d69ec00724e7b4dcf4ff8530a0fc96e3 | [log] [tgz] |
---|---|---|
author | Erik de Castro Lopo <erikd@mega-nerd.com> | Mon Jul 22 19:28:38 2019 +1000 |
committer | GitHub <noreply@github.com> | Mon Jul 22 19:28:38 2019 +1000 |
tree | 0d4ce6281be34263b50a8945635afd82dddebcad | |
parent | 688208e6960595b2f33a6dc362033fbe369adc0d [diff] |
CMakeLists.txt: Add detection of uint64_t (#52)
diff --git a/CMakeLists.txt b/CMakeLists.txt index f8716a3..54a13c0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt
@@ -59,6 +59,12 @@ check_include_files(sys/types.h INCLUDE_SYS_TYPES_H) list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") +set(SIZE16 int16_t) +set(USIZE16 uint16_t) +set(SIZE32 int32_t) +set(USIZE32 uint32_t) +set(SIZE64 int64_t) +set(USIZE64 uint64_t) include(CheckSizes)