mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 11:39:25 +00:00
Polyseed submodule
This commit is contained in:
parent
514200e7be
commit
f6fd4b7c8a
4 changed files with 14 additions and 2 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -4,3 +4,6 @@
|
||||||
[submodule "src/third-party/singleapplication"]
|
[submodule "src/third-party/singleapplication"]
|
||||||
path = src/third-party/singleapplication
|
path = src/third-party/singleapplication
|
||||||
url = https://github.com/itay-grudev/SingleApplication.git
|
url = https://github.com/itay-grudev/SingleApplication.git
|
||||||
|
[submodule "src/third-party/polyseed"]
|
||||||
|
path = src/third-party/polyseed
|
||||||
|
url = https://github.com/tevador/polyseed.git
|
||||||
|
|
|
@ -79,6 +79,9 @@ add_subdirectory(contrib/monero-seed)
|
||||||
|
|
||||||
# Polyseed 16 word mnemonic seeds
|
# Polyseed 16 word mnemonic seeds
|
||||||
find_package(Polyseed REQUIRED)
|
find_package(Polyseed REQUIRED)
|
||||||
|
if(Polyseed_SUBMODULE)
|
||||||
|
add_subdirectory(src/third-party/polyseed)
|
||||||
|
endif()
|
||||||
|
|
||||||
# libzip
|
# libzip
|
||||||
find_package(zlib CONFIG)
|
find_package(zlib CONFIG)
|
||||||
|
|
|
@ -1,5 +1,10 @@
|
||||||
find_path(POLYSEED_INCLUDE_DIR polyseed.h)
|
find_path(POLYSEED_INCLUDE_DIR polyseed.h)
|
||||||
message(STATUS "POLYSEED PATH ${POLYSEED_INCLUDE_DIR}")
|
|
||||||
|
|
||||||
find_library(POLYSEED_LIBRARY polyseed)
|
find_library(POLYSEED_LIBRARY polyseed)
|
||||||
|
if (NOT POLYSEED_INCLUDE_DIR OR NOT POLYSEED_LIBRARY)
|
||||||
|
MESSAGE(STATUS "Could not find installed Polyseed, using submodule instead")
|
||||||
|
set(Polyseed_SUBMODULE "ON")
|
||||||
|
set(POLYSEED_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/third-party/polyseed/include)
|
||||||
|
set(POLYSEED_LIBRARY polyseed)
|
||||||
|
endif()
|
||||||
|
message(STATUS "POLYSEED PATH ${POLYSEED_INCLUDE_DIR}")
|
||||||
message(STATUS "POLYSEED LIBARY ${POLYSEED_LIBRARY}")
|
message(STATUS "POLYSEED LIBARY ${POLYSEED_LIBRARY}")
|
1
src/third-party/polyseed
vendored
Submodule
1
src/third-party/polyseed
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit e38516561c647522e2e2608f13eabdeab61d9a5d
|
Loading…
Reference in a new issue