diff --git a/cmake/external/cryptopp.cmake b/cmake/external/cryptopp.cmake index a3ca8d69a4d00ac807c8bf1eb830978660bbbf4e..af5dd0e2c9b2d19929f58363d08e7ff40d43b013 100644 --- a/cmake/external/cryptopp.cmake +++ b/cmake/external/cryptopp.cmake @@ -50,6 +50,8 @@ set(CRYPTOPP_CMAKE_ARGS ${COMMON_CMAKE_ARGS} -DCMAKE_BUILD_TYPE=${THIRD_PARTY_BUILD_TYPE} -DCMAKE_CXX_FLAGS=${CRYPTOPP_CMAKE_CXX_FLAGS} -DCMAKE_CXX_FLAGS_RELEASE=${CMAKE_CXX_FLAGS_RELEASE} + -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER} + -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER} ) INCLUDE_DIRECTORIES(${CRYPTOPP_INCLUDE_DIR})