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.
1 parent a5e9966 commit 23eedc5Copy full SHA for 23eedc5
src/CMakeLists.txt
@@ -49,6 +49,11 @@ set(SECP256K1_ENABLE_MODULE_RECOVERY ON CACHE BOOL "" FORCE)
49
set(SECP256K1_BUILD_BENCHMARK OFF CACHE BOOL "" FORCE)
50
set(SECP256K1_BUILD_TESTS ${BUILD_TESTS} CACHE BOOL "" FORCE)
51
set(SECP256K1_BUILD_EXHAUSTIVE_TESTS ${BUILD_TESTS} CACHE BOOL "" FORCE)
52
+if(NOT BUILD_TESTS)
53
+ # Always skip the ctime tests, if we are building no other tests.
54
+ # Otherwise, they are built if Valgrind is available. See SECP256K1_VALGRIND.
55
+ set(SECP256K1_BUILD_CTIME_TESTS ${BUILD_TESTS} CACHE BOOL "" FORCE)
56
+endif()
57
set(SECP256K1_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
58
include(GetTargetInterface)
59
# -fsanitize and related flags apply to both C++ and C,
0 commit comments