Skip to content

Commit 0595d91

Browse files
committed
Solve bug from previous commit/version.
1 parent 7b20ddc commit 0595d91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/FindNodeJS.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ if(NOT NodeJS_LIBRARY)
454454
# Select the ICU library depending on the NodeJS version
455455
if("${NodeJS_VERSION_MAJOR}" GREATER_EQUAL "18")
456456
set(ICU_URL "https://github.com/unicode-org/icu/releases/download/release-71-1/icu4c-71_1-src.zip")
457-
if("${NodeJS_VERSION_MAJOR}" GREATER_EQUAL "16")
457+
elseif("${NodeJS_VERSION_MAJOR}" GREATER_EQUAL "16")
458458
set(ICU_URL "https://github.com/unicode-org/icu/releases/download/release-69-1/icu4c-69_1-src.zip")
459459
elseif("${NodeJS_VERSION_MAJOR}" GREATER_EQUAL "15")
460460
set(ICU_URL "https://github.com/unicode-org/icu/releases/download/release-67-1/icu4c-67_1-src.zip")

0 commit comments

Comments
 (0)