We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
secp256k1.cmake
1 parent d20f10a commit 9193c3eCopy full SHA for 9193c3e
cmake/secp256k1.cmake
@@ -2,6 +2,8 @@
2
# Distributed under the MIT software license, see the accompanying
3
# file COPYING or https://opensource.org/license/mit/.
4
5
+enable_language(C)
6
+
7
function(add_secp256k1 subdir)
8
message("")
9
message("Configuring secp256k1 subtree...")
@@ -30,7 +32,6 @@ function(add_secp256k1 subdir)
30
32
string(STRIP "${SECP256K1_APPEND_LDFLAGS} ${APPEND_LDFLAGS}" SECP256K1_APPEND_LDFLAGS)
31
33
set(SECP256K1_APPEND_LDFLAGS ${SECP256K1_APPEND_LDFLAGS} CACHE STRING "" FORCE)
34
# We want to build libsecp256k1 with the most tested RelWithDebInfo configuration.
- enable_language(C)
35
foreach(config IN LISTS CMAKE_BUILD_TYPE CMAKE_CONFIGURATION_TYPES)
36
if(config STREQUAL "")
37
continue()
0 commit comments