Prevent secp256k1 from autodetecting gmp
If we do allow gmp, we will need to change our CMakeLists.txt files to detect whether secp256k1's configure detected gmp, and if so, link gmp into all programs that use fc. For now I just disabled it entirely, I don't know whether there's any noticable performance benefit to using it.
This commit is contained in:
parent
62f980867b
commit
9117b724c2
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ else ( WIN32 )
|
|||
ExternalProject_Add( project_secp256k1
|
||||
PREFIX ${CMAKE_CURRENT_BINARY_DIR}/vendor/secp256k1-zkp
|
||||
SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/vendor/secp256k1-zkp
|
||||
CONFIGURE_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/vendor/secp256k1-zkp/configure --prefix=${CMAKE_CURRENT_BINARY_DIR}/vendor/secp256k1-zkp
|
||||
CONFIGURE_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/vendor/secp256k1-zkp/configure --prefix=${CMAKE_CURRENT_BINARY_DIR}/vendor/secp256k1-zkp --with-bignum=no
|
||||
BUILD_COMMAND make
|
||||
INSTALL_COMMAND make install
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue