Skip to content

Commit 4062b4b

Browse files
committed
(#8) Fixed NAPI_VERSION define
1 parent cfeb543 commit 4062b4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ else()
4141
endif()
4242

4343
add_compile_definitions(NAPI_CPP_EXCEPTIONS)
44-
add_compile_definitions(-DNAPI_VERSION=3)
44+
add_compile_definitions(NAPI_VERSION=3)
4545

4646
# cmake-js
4747
set(INCLUDES ${INCLUDES} ${CMAKE_JS_INC})

0 commit comments

Comments
 (0)