Skip to content

Truly independent web browser

Meta: Accept any version number for releases

Jelle Raaijmakers5f3e455eb750
diff --git a/Documentation/AdvancedBuildInstructions.md b/Documentation/AdvancedBuildInstructions.md
index 469476d6d9a..a002fc6602f 100644
--- a/Documentation/AdvancedBuildInstructions.md
+++ b/Documentation/AdvancedBuildInstructions.md
@@ -52,7 +52,7 @@ There are some optional features that can be enabled during compilation that are
- `LADYBIRD_ENABLE_CPPTRACE`: uses cpptrace for stack traces when it is available, and `backtrace.h` otherwise. Enabled by default.
- `LADYBIRD_GENERATE_SYMBOL_FILES`: builds with debug information and writes the symbols of the installed executables to separate files. Enabled by the `Distribution` preset. Not supported with MSVC-style toolchains.
- `LADYBIRD_GENERATE_DSYM`: generates dSYM bundles for executables and libraries on macOS.
-- `LADYBIRD_VERSION`: sets the version of a release, as three integers, such as `2026.46.0`. Empty for development builds.
+- `LADYBIRD_VERSION`: sets the version of a release, such as `2026.46.0`. Empty for development builds.
- `ENABLE_INSTALL_HEADERS`: installs the headers of the libraries. Enabled by default.
- `ENABLE_INSTALL_FREEDESKTOP_FILES`: installs the desktop entry, D-Bus service, icon and AppStream metainfo files. Enabled by default on Linux and the BSDs.
diff --git a/Meta/CMake/cmake_options.cmake b/Meta/CMake/cmake_options.cmake
index 7032bfc7652..0213806b9b4 100644
--- a/Meta/CMake/cmake_options.cmake
+++ b/Meta/CMake/cmake_options.cmake
@@ -53,9 +53,6 @@ option(LADYBIRD_BASELINE_CPU_TARGET "Use a common CPU baseline for portable bina
set(LADYBIRD_VERSION "" CACHE STRING "Version of a release, such as 2026.46.0")
set(LADYBIRD_BROWSER_VERSION "${PROJECT_VERSION}")
if (NOT LADYBIRD_VERSION STREQUAL "")
- if (NOT LADYBIRD_VERSION MATCHES "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$")
- message(FATAL_ERROR "LADYBIRD_VERSION must be three integers, such as 2026.46.0: ${LADYBIRD_VERSION}")
- endif()
set(LADYBIRD_BROWSER_VERSION "${LADYBIRD_VERSION}")
endif()