From 89e322e3b5eb056fef56c1f3fb4a85a130a75ab7 Mon Sep 17 00:00:00 2001 From: Meghan Denny Date: Fri, 18 Jul 2025 03:14:11 -0800 Subject: [PATCH] cmake: set nodejs_version statically (#21164) --- cmake/Options.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Options.cmake b/cmake/Options.cmake index 5e2b3b2f38..cc27c33a3e 100644 --- a/cmake/Options.cmake +++ b/cmake/Options.cmake @@ -139,10 +139,10 @@ endif() optionx(REVISION STRING "The git revision of the build" DEFAULT ${DEFAULT_REVISION}) # Used in process.version, process.versions.node, napi, and elsewhere -optionx(NODEJS_VERSION STRING "The version of Node.js to report" DEFAULT "24.3.0") +setx(NODEJS_VERSION "24.3.0") # Used in process.versions.modules and compared while loading V8 modules -optionx(NODEJS_ABI_VERSION STRING "The ABI version of Node.js to report" DEFAULT "137") +setx(NODEJS_ABI_VERSION "137") if(APPLE) set(DEFAULT_STATIC_SQLITE OFF)