Add ICU support for FindNodeJS on version 18.
@@ -452,6 +452,8 @@ if(NOT NodeJS_LIBRARY)
message(STATUS "Configure NodeJS shared library")
# Select the ICU library depending on the NodeJS version
+ if("${NodeJS_VERSION_MAJOR}" GREATER_EQUAL "18")
+ set(ICU_URL "https://github.com/unicode-org/icu/releases/download/release-71-1/icu4c-71_1-src.zip")
if("${NodeJS_VERSION_MAJOR}" GREATER_EQUAL "16")
set(ICU_URL "https://github.com/unicode-org/icu/releases/download/release-69-1/icu4c-69_1-src.zip")
elseif("${NodeJS_VERSION_MAJOR}" GREATER_EQUAL "15")
