1 parent 1b6b090 commit fa8ffafCopy full SHA for fa8ffaf
1 file changed
cmake/libv8.cmake
@@ -1,4 +1,4 @@
1
-set(V8_INCLUDE_NAMES v8.h v8-debug.h v8-profiler.h)
+set(V8_INCLUDE_NAMES v8.h v8-debug.h v8-profiler.h v8stdint.h)
2
set(V8_LIBRARY_NAMES v8)
3
4
if(SHARED_V8)
@@ -12,4 +12,14 @@ else()
12
set(v8_fn "libv8.a")
13
endif()
14
set(V8_LIBRARY_PATH "${PROJECT_BINARY_DIR}/deps/v8/${v8_fn}")
15
+ install(DIRECTORY
16
+ ## Do NOT remove the trailing slash
17
+ ## it is required so that v8 headers are
18
+ ## copied directly into include/node
19
+ ## rather than in a subdirectory
20
+ ## See CMake's install(DIRECTORY) manual for details
21
+ ${V8_INCLUDE_DIR}/
22
+
23
+ DESTINATION include/node
24
+ )
25
0 commit comments