From 66b2879e57b844f83ae66c73829184e651c4eec1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 7 Mar 2017 17:02:26 +0100 Subject: [PATCH] Refactor libsnark CMake config --- CMakeLists.txt | 2 +- libdevcrypto/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 822e70a3602..b9efe5c62fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -51,7 +51,7 @@ include(deps/boost.cmake) include(deps/jsoncpp.cmake) include(deps/jsonrpc.cmake) include(deps/cryptopp.cmake) -include(deps/snark.cmake) +include(ProjectSnark) configure_project(CPUID CURL EVMJIT FATDB MINIUPNPC ROCKSDB PARANOID TESTS VMTRACE) diff --git a/libdevcrypto/CMakeLists.txt b/libdevcrypto/CMakeLists.txt index 3620d9612d3..b460d30fbe1 100644 --- a/libdevcrypto/CMakeLists.txt +++ b/libdevcrypto/CMakeLists.txt @@ -10,7 +10,7 @@ find_package(Utils) target_include_directories(devcrypto PRIVATE ..) target_include_directories(devcrypto PRIVATE ../utils) -target_link_libraries(devcrypto cryptopp snark ${Utils_SCRYPT_LIBRARIES} devcore) +target_link_libraries(devcrypto cryptopp Snark ${Utils_SCRYPT_LIBRARIES} devcore) if (NOT EMSCRIPTEN) target_link_libraries(devcrypto ${Utils_SECP256K1_LIBRARIES})