build: apply the review-fixes build conventions to prefractal
The prefractal module landed on main in parallel with the review-fixes branch, so neither of that branch's two build changes covered it: - CMake gated frost, chilldkg and iceberg on SECP256K1_EXPERIMENTAL but not prefractal, leaving CMake accepting a configuration that configure.ac already rejects. - doc/prefractal.md was referenced by no build file, so it would be absent from a release tarball alongside the other module docs. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -139,6 +139,9 @@ if(NOT SECP256K1_EXPERIMENTAL)
|
||||
if(SECP256K1_ENABLE_MODULE_ICEBERG)
|
||||
message(FATAL_ERROR "Iceberg module is experimental. Use -DSECP256K1_EXPERIMENTAL=ON to allow.")
|
||||
endif()
|
||||
if(SECP256K1_ENABLE_MODULE_PREFRACTAL)
|
||||
message(FATAL_ERROR "Prefractal module is experimental. Use -DSECP256K1_EXPERIMENTAL=ON to allow.")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
set(SECP256K1_VALGRIND "AUTO" CACHE STRING "Build with extra checks for running inside Valgrind. [default=AUTO]")
|
||||
|
||||
Reference in New Issue
Block a user