From 9096add8f687ced862f9992f040b6aba766f6205 Mon Sep 17 00:00:00 2001 From: Fernando Pelliccioni Date: Wed, 13 Sep 2017 16:12:32 -0300 Subject: [PATCH] cmake fix --- CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a80f0d079c..0f49258826 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -211,8 +211,9 @@ else() message("fer WITH_BIGNUM auto - FALSE") endif() - -if (WITH_BIGNUM STREQUAL "gmp") +message(WITH_BIGNUM) +message(${WITH_BIGNUM}) +if (${WITH_BIGNUM} STREQUAL "gmp") target_compile_definitions(secp256k1 PUBLIC -DHAVE_LIBGMP=1) target_compile_definitions(secp256k1 PUBLIC -DUSE_NUM_GMP=1) target_compile_definitions(secp256k1 PUBLIC -DUSE_FIELD_INV_NUM=1)