You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# NodeJS added util.parseArgs([config]) in versions v18.3.0, v16.17.0
37
+
# Check for compatibility, otherwise use fallback command parser in the CLI
38
+
if(NOT (NodeJS_VERSION VERSION_GREATER_EQUAL"18.3.0"OR (NodeJS_VERSION_MAJOR LESS 18 AND NodeJS_VERSION VERSION_GREATER_EQUAL"16.17.0")))
39
+
message(WARNING "NodeJS version ${NodeJS_VERSION} does not support ${target}, at least v18.3.0 or v16.17.0 are required, using fallback command parser")
Copy file name to clipboardExpand all lines: source/cli/plugins/cli_cmd_plugin/CMakeLists.txt
-14Lines changed: 0 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,6 @@ if(NOT OPTION_BUILD_LOADERS OR NOT OPTION_BUILD_LOADERS_EXT OR NOT OPTION_BUILD_
3
3
return()
4
4
endif()
5
5
6
-
find_package(NodeJS)
7
-
8
-
if(NOT NodeJS_FOUND)
9
-
message(SEND_ERROR "NodeJS libraries not found")
10
-
return()
11
-
endif()
12
-
13
6
#
14
7
# Plugin name and options
15
8
#
@@ -20,13 +13,6 @@ set(target cli_cmd_plugin)
20
13
# Exit here if required dependencies are not met
21
14
message(STATUS"Plugin ${target}")
22
15
23
-
# NodeJS added util.parseArgs([config]) in versions v18.3.0, v16.17.0
24
-
# Check for compatibility, otherwise use fallback command parser in the CLI
25
-
if(NOT (NodeJS_VERSION VERSION_GREATER_EQUAL"18.3.0"OR (NodeJS_VERSION_MAJOR LESS 18 AND NodeJS_VERSION VERSION_GREATER_EQUAL"16.17.0")))
26
-
message(WARNING "NodeJS version ${NodeJS_VERSION} does not support ${target}, at least v18.3.0 or v16.17.0 are required, using fallback command parser")
0 commit comments