mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 11:39:25 +00:00
cmake: polyseed: prefer static
This commit is contained in:
parent
f6fd4b7c8a
commit
2b26941540
1 changed files with 2 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
||||||
find_path(POLYSEED_INCLUDE_DIR polyseed.h)
|
find_path(POLYSEED_INCLUDE_DIR polyseed.h)
|
||||||
find_library(POLYSEED_LIBRARY polyseed)
|
find_library(POLYSEED_LIBRARY NAMES libpolyseed.a polyseed)
|
||||||
if (NOT POLYSEED_INCLUDE_DIR OR NOT POLYSEED_LIBRARY)
|
if (NOT POLYSEED_INCLUDE_DIR OR NOT POLYSEED_LIBRARY)
|
||||||
MESSAGE(STATUS "Could not find installed Polyseed, using submodule instead")
|
MESSAGE(STATUS "Could not find installed Polyseed, using submodule instead")
|
||||||
set(Polyseed_SUBMODULE "ON")
|
set(Polyseed_SUBMODULE "ON")
|
||||||
set(POLYSEED_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/third-party/polyseed/include)
|
set(POLYSEED_INCLUDE_DIR ${CMAKE_SOURCE_DIR}/src/third-party/polyseed/include)
|
||||||
set(POLYSEED_LIBRARY polyseed)
|
set(POLYSEED_LIBRARY polyseed_static)
|
||||||
endif()
|
endif()
|
||||||
message(STATUS "POLYSEED PATH ${POLYSEED_INCLUDE_DIR}")
|
message(STATUS "POLYSEED PATH ${POLYSEED_INCLUDE_DIR}")
|
||||||
message(STATUS "POLYSEED LIBARY ${POLYSEED_LIBRARY}")
|
message(STATUS "POLYSEED LIBARY ${POLYSEED_LIBRARY}")
|
Loading…
Reference in a new issue