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 1111 },
1212 "scripts" : {
1313 "copy-examples" : " tsx scripts/copy-examples.mts" ,
14- "gyp-to-cmake" : " gyp-to-cmake ." ,
14+ "gyp-to-cmake" : " gyp-to-cmake --weak-node-api ." ,
1515 "build" : " tsx scripts/build-examples.mts" ,
1616 "copy-and-build" : " node --run copy-examples && node --run gyp-to-cmake && node --run build" ,
1717 "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})
55
66add_library (addon SHARED addon.c)
77target_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})
55
66add_library (addon SHARED addon.c)
77target_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