diff --git a/build/CommonCompilerOptions.CMake b/build/CommonCompilerOptions.CMake index 4c25e18..087c7f7 100644 --- a/build/CommonCompilerOptions.CMake +++ b/build/CommonCompilerOptions.CMake @@ -76,7 +76,7 @@ if(NOT EXISTS "${THIRDPARTY_DIR}/build") endif() # Boost settings -set(BOOST_INCLUDE_LIBRARIES date_time filesystem log program_options random regex system test) +set(BOOST_INCLUDE_LIBRARIES container date_time filesystem log program_options random regex system test) list(JOIN BOOST_INCLUDE_LIBRARIES "," BOOST_INCLUDE_LIBRARIES_COMMA_SEPARATED) separate_arguments(BOOST_B2_FLAGS NATIVE_COMMAND "${CMAKE_CXX_FLAGS}") diff --git a/build/CommonTargets.CMake b/build/CommonTargets.CMake index 21247b9..e09f5fa 100644 --- a/build/CommonTargets.CMake +++ b/build/CommonTargets.CMake @@ -695,3 +695,14 @@ install( DIRECTORY ${THIRDPARTY_DIR}/jsonrpc-lean DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/jsonrpc-lean ) + +# crypto3 +ExternalProject_Add(crypto3 + PREFIX crypto3 + SOURCE_DIR "${THIRDPARTY_DIR}/zkLLVM/libs/crypto3" + CMAKE_CACHE_ARGS + -DCMAKE_INSTALL_PREFIX:PATH= + ${_CMAKE_COMMON_CACHE_ARGS} + ${_BOOST_CACHE_ARGS} + DEPENDS Boost +)