#------------------------------------------------------------------------------ # CMake helper for the "utils" modules, which are orphaned external # packages - secp256k1, libscrypt and json_spirit. # # This module defines # Utils_XXX_LIBRARIES, the libraries needed to use ethereum. # Utils_INCLUDE_DIRS # # The documentation for cpp-ethereum is hosted at http://cpp-ethereum.org # # ------------------------------------------------------------------------------ # This file is part of cpp-ethereum. # # cpp-ethereum is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # cpp-ethereum is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with cpp-ethereum. If not, see # # (c) 2014-2016 cpp-ethereum contributors. #------------------------------------------------------------------------------ include(EthUtils) set(LIBS secp256k1;scrypt) set(Utils_INCLUDE_DIRS "${CPP_ETHEREUM_DIR}") find_library(Utils_SECP256K1_LIBRARY NAMES secp256k1) set (Utils_SECP256K1_LIBRARIES ${Utils_SECP256K1_LIBRARY}) find_library(Utils_SCRYPT_LIBRARY NAMES scrypt) set (Utils_SCRYPT_LIBRARIES ${Utils_SCRYPT_LIBRARY})