forked from dashpay/dash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: Some fixes and optional targets (dashpay#14)
* cmake: Only include GMP_INCLUDES if gmp has been found Otherwise it fails with the following if gmp wasn't found: CMake Error in src/CMakeLists.txt: Found relative path while evaluating include directories of <target>: "GMP_INCLUDES-NOTFOUND" * cmake: Drop broken gmp include This seems to be broken because `GMP_INCLUDE_DIR` isn't set at all by `Findgmp.cmake`, it sets `GMP_INCLUDES` instead. It's however set by relic's script which isn't configured at this point though. If you want to keep this include it should be `include_directories(${GMP_INCLUDES})` rather i guess? * cmake: Install relic headers into chiabls I think this should be done because chiabls depends on how relic was configure. * cmake: Make blspy optional * cmake: Make runbench/runtest optional
- Loading branch information
1 parent
58bbcd0
commit 1776926
Showing
3 changed files
with
37 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters