From c2b149d3785a365542592198587462467d3fbae2 Mon Sep 17 00:00:00 2001 From: SergiySW Date: Wed, 29 Nov 2017 18:25:23 +0300 Subject: [PATCH] Adding custom Crypto++ properties --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 72e70b2a..fa8fb2dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,6 +141,7 @@ if (CRYPTOPP_CUSTOM) cryptopp/sha.cpp cryptopp/simple.cpp cryptopp/winpipes.cpp) + set_target_properties (cryptopp PROPERTIES COMPILE_FLAGS "${PLATFORM_CXX_FLAGS} ${PLATFORM_COMPILE_FLAGS}") else () set (CRYPTOPP_LIBRARY cryptopp-static) add_subdirectory (cryptopp)