We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79e5904 commit e11c445Copy full SHA for e11c445
cmake/FindNodeJS.cmake
@@ -455,7 +455,7 @@ if(NOT NodeJS_LIBRARY)
455
# Check for Visual Studio Version and configure the build command
456
if(MSVC_VERSION GREATER_EQUAL 1930)
457
set(NodeJS_MSVC_VER vs2022)
458
- if(MSVC_VERSION GREATER_EQUAL 1920)
+ elseif(MSVC_VERSION GREATER_EQUAL 1920)
459
set(NodeJS_MSVC_VER vs2019)
460
elseif(MSVC_VERSION GREATER 1900)
461
set(NodeJS_MSVC_VER vs2017)
0 commit comments