Skip to content

Commit

Permalink
cmake fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fpelliccioni committed Sep 13, 2017
1 parent f208332 commit 9096add
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9096add

Please sign in to comment.