diff options
Diffstat (limited to 'cmake/aws_sdk.cmake')
-rw-r--r-- | cmake/aws_sdk.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/aws_sdk.cmake b/cmake/aws_sdk.cmake index 7abd9974c1e..f6f88f2b880 100644 --- a/cmake/aws_sdk.cmake +++ b/cmake/aws_sdk.cmake @@ -45,6 +45,7 @@ FUNCTION (CHECK_AWS_SDK RETVAL REASON) IF(UNIX) # Check librairies required for building SDK FIND_PACKAGE(CURL) + SET_PACKAGE_PROPERTIES(CURL PROPERTIES TYPE REQUIRED) IF(NOT CURL_FOUND) SKIP_AWS_SDK("AWS C++ SDK requires libcurl development package") ENDIF() @@ -54,10 +55,12 @@ FUNCTION (CHECK_AWS_SDK RETVAL REASON) ENDIF() IF(NOT APPLE) FIND_LIBRARY(UUID_LIBRARIES uuid) + SET_PACKAGE_PROPERTIES(UUID_LIBRARIES PROPERTIES TYPE REQUIRED) IF(NOT UUID_LIBRARIES) SKIP_AWS_SDK("AWS C++ SDK requires uuid development package") ENDIF() FIND_PACKAGE(OpenSSL) + SET_PACKAGE_PROPERTIES(OpenSSL PROPERTIES TYPE REQUIRED) IF(NOT OPENSSL_FOUND) SKIP_AWS_SDK("AWS C++ SDK requires openssl development package") ENDIF() |