Commit 2d6a0c4
committed
Merge bitcoin/bitcoin#33379: cmake: Fix regression in
9193c3e cmake: Fix regression in `secp256k1.cmake` (Hennadii Stepanov)
Pull request description:
This PR fixes a regression introduced in bitcoin/bitcoin#33101 (mea culpa).
From the CMake [docs](https://cmake.org/cmake/help/latest/command/enable_language.html):
> The following restrictions apply to where `enable_language()` may be called:
>
> - It must be called in file scope, not in a function call.
Fixes bitcoin/bitcoin#33153.
ACKs for top commit:
TheCharlatan:
ACK 9193c3e
furszy:
ACK 9193c3e
Tree-SHA512: 5f9ca2209af195a5eefefffdceae1acf650db29b371616f803b482a6b8acc4e87acc66714488520ef91d06ad4436438d9030be9979bd4c482cb5d1ce65b7f67esecp256k1.cmake
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
7 | 9 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
0 commit comments