File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ set(V8PP_HEADER_ONLY 0 CACHE BOOL "Header-only library")
20
20
set (V8PP_ISOLATE_DATA_SLOT 0 CACHE STRING "v8::Isolate data slot number, used in v8pp for shared data" )
21
21
set (V8PP_PLUGIN_INIT_PROC_NAME "v8pp_module_init" CACHE STRING "v8pp plugin initialization procedure name" )
22
22
set (V8PP_PLUGIN_SUFFIX ${CMAKE_SHARED_LIBRARY_SUFFIX} CACHE STRING "v8pp plugin filename suffix" )
23
- option (V8_COMPRESS_POINTERS "Use new V8 ABI with V8_COMPRESS_POINTERS and V8_31BIT_SMIS_ON_64BIT_ARCH" ON )
23
+ set (V8_COMPRESS_POINTERS 1 CACHE BOOL "Use new V8 ABI with V8_COMPRESS_POINTERS and V8_31BIT_SMIS_ON_64BIT_ARCH" )
24
24
25
25
if (BUILD_SHARED_LIBS AND WIN32 )
26
26
set (CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS true )
Original file line number Diff line number Diff line change @@ -51,4 +51,6 @@ v8::Local<v8::Value> V8PP_PLUGIN_INIT_PROC_NAME(isolate)
51
51
#define V8PP_IMPL
52
52
#endif
53
53
54
+ #define V8PP_USE_STD_STRING_VIEW 1
55
+
54
56
#endif // V8PP_CONFIG_HPP_INCLUDED
You can’t perform that action at this time.
0 commit comments