Skip to content

Commit e11c445

Browse files
committed
Solve issue with nodejs.
1 parent 79e5904 commit e11c445

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
@@ -455,7 +455,7 @@ if(NOT NodeJS_LIBRARY)
455455
# Check for Visual Studio Version and configure the build command
456456
if(MSVC_VERSION GREATER_EQUAL 1930)
457457
set(NodeJS_MSVC_VER vs2022)
458-
if(MSVC_VERSION GREATER_EQUAL 1920)
458+
elseif(MSVC_VERSION GREATER_EQUAL 1920)
459459
set(NodeJS_MSVC_VER vs2019)
460460
elseif(MSVC_VERSION GREATER 1900)
461461
set(NodeJS_MSVC_VER vs2017)

0 commit comments

Comments
 (0)