Skip to content

build: suppress CMake error for src/secp256k1 subdirectory #2799

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
build: suppress CMake error for src/secp256k1 subdirectory
  • Loading branch information
CyberTailor committed Apr 9, 2025
commit 29a56e628c48367b474c160881305c707bfe1e32
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ endif()
if(SYSTEM_SECP256K1)
set(LIBSECP256K1 PkgConfig::SECP256K1)
else()
# workarounds for libsecp256k1 v0.3.0
set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
set(CMAKE_POLICY_VERSION_MINIMUM 3.5)

set(SECP256K1_BUILD_SHARED OFF)
set(SECP256K1_BUILD_STATIC ON)
Expand Down
Loading