Skip to content

Commit b35c1f3

Browse files
authored
Fix incorrect instruction in cmake.js docs
1 parent 1a3a3bb commit b35c1f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/cmake-js.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ behavior is desired.
5454
To enable C++ exception handling with `Napi::Error` objects only:
5555

5656
```
57-
add_definitions(-DNAPI_EXPERIMENTAL)
57+
add_definitions(-DNODE_ADDON_API_CPP_EXCEPTIONS)
5858
```
5959

6060
To enable C++ exception handling for all exceptions thrown:

0 commit comments

Comments
 (0)