From dedfe712977b038b87db7b5c8681bcf534d3d2c9 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sat, 10 Nov 2018 17:07:38 -0800 Subject: [PATCH] Fix passing vars to cryptopp --- vendor/cryptopp/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vendor/cryptopp/CMakeLists.txt b/vendor/cryptopp/CMakeLists.txt index f92ec69c..cbe7ed60 100644 --- a/vendor/cryptopp/CMakeLists.txt +++ b/vendor/cryptopp/CMakeLists.txt @@ -84,10 +84,10 @@ else() endif() -set(BUILD_TESTING OFF) -set(BUILD_DOCUMENTATION OFF) -set(BUILD_SHARED OFF) -set(BUILD_STATIC ON) +set(BUILD_TESTING OFF CACHE BOOL "") +set(BUILD_DOCUMENTATION OFF CACHE BOOL "") +set(BUILD_SHARED OFF CACHE BOOL "") +set(BUILD_STATIC ON CACHE BOOL "") add_subdirectory(vendor_cryptopp EXCLUDE_FROM_ALL) target_link_libraries(cryptopp PRIVATE cryptopp-static)