rocksdb-native 3.5.8 → 3.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CMakeLists.txt CHANGED
@@ -9,11 +9,12 @@ project(rocksdb_native C CXX)
9
9
 
10
10
  bare_target(target)
11
11
 
12
- if(target MATCHES "win32")
13
- add_compile_options(/MT$<$<CONFIG:Debug>:d>)
14
- endif()
12
+ fetch_package("github:holepunchto/librocksdb#1d5ffb4")
15
13
 
16
- fetch_package("github:holepunchto/librocksdb#4a8e385")
14
+ if(TARGET c++)
15
+ target_link_libraries(rocksdb PUBLIC c++)
16
+ target_link_libraries(rocksdb_facebook PUBLIC c++)
17
+ endif()
17
18
 
18
19
  add_bare_module(rocksdb_native_bare)
19
20
 
@@ -34,7 +35,7 @@ target_link_libraries(
34
35
  path
35
36
  )
36
37
 
37
- if(target MATCHES "linux")
38
+ if(target MATCHES "linux" AND NOT TARGET c++)
38
39
  target_link_options(
39
40
  ${rocksdb_native_bare}
40
41
  PUBLIC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rocksdb-native",
3
- "version": "3.5.8",
3
+ "version": "3.5.10",
4
4
  "description": "librocksdb bindings for JavaScript",
5
5
  "exports": {
6
6
  ".": "./index.js",