Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
hebasto committed Jun 25, 2024
1 parent 4af241b commit ac3983a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ set(CMAKE_C_STANDARD 90)
set(CMAKE_C_EXTENSIONS OFF)

list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
include(FetchContent)
FetchContent_Declare(BitcoinCoreCmakeUtils
GIT_REPOSITORY https://github.com/hebasto/bitcoin-core-cmake-utils.git
GIT_TAG cafeefd0658b529e08d547a29dc46c95d75190c8
)
FetchContent_MakeAvailable(BitcoinCoreCmakeUtils)
if(NOT "${bitcoincorecmakeutils_SOURCE_DIR}" STREQUAL "")
list(APPEND CMAKE_MODULE_PATH ${bitcoincorecmakeutils_SOURCE_DIR})
endif()

option(BUILD_SHARED_LIBS "Build shared libraries." ON)
option(SECP256K1_DISABLE_SHARED "Disable shared library. Overrides BUILD_SHARED_LIBS." OFF)
Expand Down

0 comments on commit ac3983a

Please sign in to comment.