diff options
Diffstat (limited to 'cmake/Modules/FindNettle.cmake')
-rw-r--r-- | cmake/Modules/FindNettle.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/Modules/FindNettle.cmake b/cmake/Modules/FindNettle.cmake index e2283c49..f5acf6ac 100644 --- a/cmake/Modules/FindNettle.cmake +++ b/cmake/Modules/FindNettle.cmake @@ -15,3 +15,7 @@ endif() if (NOT HOGWEED_FOUND OR NOT GMP_FOUND) set(NETTLE_FOUND 0) endif() + +if(Nettle_FIND_REQUIRED AND NOT NETTLE_FOUND) + message(FATAL_ERROR "Could not find Nettle") +endif() |