File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
packages/node-addon-examples Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11
11
},
12
12
"scripts" : {
13
13
"copy-examples" : " tsx scripts/copy-examples.mts" ,
14
- "gyp-to-cmake" : " gyp-to-cmake ." ,
14
+ "gyp-to-cmake" : " gyp-to-cmake --weak-node-api ." ,
15
15
"build" : " tsx scripts/build-examples.mts" ,
16
16
"copy-and-build" : " node --run copy-examples && node --run gyp-to-cmake && node --run build" ,
17
17
"verify" : " tsx scripts/verify-prebuilds.mts" ,
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ include(${WEAK_NODE_API_CONFIG})
5
5
6
6
add_library (addon SHARED addon.c)
7
7
target_link_libraries (addon PRIVATE weak-node-api)
8
- target_compile_features (addon PRIVATE cxx_std_20 )
8
+ target_compile_features (addon PRIVATE cxx_std_17 )
Original file line number Diff line number Diff line change @@ -5,4 +5,4 @@ include(${WEAK_NODE_API_CONFIG})
5
5
6
6
add_library (addon SHARED addon.c)
7
7
target_link_libraries (addon PRIVATE weak-node-api)
8
- target_compile_features (addon PRIVATE cxx_std_20 )
8
+ target_compile_features (addon PRIVATE cxx_std_17 )
You can’t perform that action at this time.
0 commit comments