mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
15 lines
361 B
CMake
15 lines
361 B
CMake
option(ENABLE_BECH32 "Enable bech32 support" ${ENABLE_LIBRARIES})
|
|
if ((NOT ENABLE_BECH32))
|
|
message (STATUS "Not using bech32")
|
|
return()
|
|
endif()
|
|
|
|
add_library(_bech32
|
|
include/bech32.h
|
|
src/bech32.cpp)
|
|
|
|
target_include_directories(_bech32 PUBLIC include)
|
|
target_include_directories(_bech32 PRIVATE src)
|
|
|
|
add_library(ch_contrib::bech32 ALIAS _bech32)
|