commit c19657d65c810ed19a934d7a854564d111eb222e (tree)
parent 60f1fe5e608f35d55677f5481b31173f6d4261a9
Author: Andrew Kelley <andrew@ziglang.org>
Date: Wed, 6 Mar 2024 23:32:41 -0700
cmake: remove -Dno-autodocs
this is now the default
Diffstat:
1 file changed, 0 insertions(+), 3 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -907,8 +907,6 @@ else()
endif()
# -Dno-langref is currently hardcoded because building the langref takes too damn long
-# -Dno-autodocs is currently hardcoded because the C backend generates a miscompilation
-# that prevents it from working.
# To obtain these two forms of documentation, run zig build against stage3 rather than stage2.
set(ZIG_BUILD_ARGS
--zig-lib-dir "${CMAKE_SOURCE_DIR}/lib"
@@ -918,7 +916,6 @@ set(ZIG_BUILD_ARGS
${ZIG_STATIC_ARG}
${ZIG_NO_LIB_ARG}
"-Dno-langref"
- "-Dno-autodocs"
${ZIG_SINGLE_THREADED_ARG}
${ZIG_PIE_ARG}
"-Dtarget=${ZIG_TARGET_TRIPLE}"