Skip to content

Commit 31c4a88

Browse files
authored
docs: fix incorrect instruction in cmake.js docs (#1632)
1 parent 14c1a4f commit 31c4a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/cmake-js.md

+1-1
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)