forked from ton-blockchain/ton
-
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.
- Loading branch information
Showing
6 changed files
with
53 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# - Try to find Secp256k1 | ||
# Once done this will define | ||
# | ||
# SECP256K1_INCLUDE_DIR - the Secp256k1 include directory | ||
# SECP256K1_LIBRARY - Link these to use Secp256k1 | ||
|
||
if (NOT SECP256K1_LIBRARY) | ||
find_path( | ||
SECP256K1_INCLUDE_DIR | ||
NAMES microhttpd.h | ||
DOC "microhttpd include dir" | ||
) | ||
|
||
find_library( | ||
SECP256K1_LIBRARY | ||
NAMES secp256k1 libsecp256k1 | ||
DOC "secp256k1 library" | ||
) | ||
endif() | ||
|
||
if (SECP256K1_LIBRARY) | ||
message(STATUS "Found Secp256k1: ${SECP256K1_LIBRARY}") | ||
endif() | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(Secp256k1 DEFAULT_MSG SECP256K1_INCLUDE_DIR SECP256K1_LIBRARY) | ||
mark_as_advanced(SECP256K1_INCLUDE_DIR SECP256K1_LIBRARY) |
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
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