diff options
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 558a6f5..94e4d0b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -219,6 +219,11 @@ if(HAVE_GETENTROPY) | |||
219 | add_definitions(-DHAVE_GETENTROPY) | 219 | add_definitions(-DHAVE_GETENTROPY) |
220 | endif() | 220 | endif() |
221 | 221 | ||
222 | check_function_exists(getpagesize HAVE_GETPAGESIZE) | ||
223 | if(HAVE_GETPAGESIZE) | ||
224 | add_definitions(-DHAVE_GETPAGESIZE) | ||
225 | endif() | ||
226 | |||
222 | check_function_exists(timingsafe_bcmp HAVE_TIMINGSAFE_BCMP) | 227 | check_function_exists(timingsafe_bcmp HAVE_TIMINGSAFE_BCMP) |
223 | if(HAVE_TIMINGSAFE_BCMP) | 228 | if(HAVE_TIMINGSAFE_BCMP) |
224 | add_definitions(-DHAVE_TIMINGSAFE_BCMP) | 229 | add_definitions(-DHAVE_TIMINGSAFE_BCMP) |