v31.1-roots.1 · Commit 1: [PATCH 01/17] build(roots): establish v31 portability foundation
src/CMakeLists.txt
Before: src/CMakeLists.txt · After: src/CMakeLists.txt
File metadata
index ad18115bbc5f50b67592e3820a6cbc7c2524d38e..728001f12b0a6995b0a46411d3e58368e261a290 100644
Download original patch · Release notes
Diff rows 1–22 of 22. Line numbers refer to the original before/after files.
+ Added− RemovedUnmarked lines are context.
Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.
src/CMakeLists.txt
CHANGED
|
@@ -16,15 +16,19 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
16
16
|
# are set, so output locations of subproject tests and libraries are
|
|
17
17
|
# not overridden.
|
|
18
18
|
include(../cmake/crc32c.cmake)
|
|
19
|
-
include(../cmake/leveldb.cmake)
|
|
19
|
+
if(NOT WITH_SYSTEM_LEVELDB)
|
|
20
|
+
include(../cmake/leveldb.cmake)
|
|
21
|
+
endif()
|
|
20
22
|
include(../cmake/minisketch.cmake)
|
|
21
23
|
add_subdirectory(univalue)
|
|
22
24
|
if (ENABLE_IPC AND NOT WITH_EXTERNAL_LIBMULTIPROCESS)
|
|
23
25
|
include(../cmake/libmultiprocess.cmake)
|
|
24
26
|
add_libmultiprocess(ipc/libmultiprocess)
|
|
25
27
|
endif()
|
|
26
|
-
include(../cmake/secp256k1.cmake)
|
|
27
|
-
add_secp256k1(secp256k1)
|
|
28
|
+
if(NOT WITH_SYSTEM_LIBSECP256K1)
|
|
29
|
+
include(../cmake/secp256k1.cmake)
|
|
30
|
+
add_secp256k1(secp256k1)
|
|
31
|
+
endif()
|
|
28
32
|
|
|
29
33
|
# Set top-level target output locations.
|
|
30
34
|
if(NOT CMAKE_RUNTIME_OUTPUT_DIRECTORY)
|