Skip to content

Commit c2a59d9

Browse files
change to dynamic linking to TileDB
1 parent d2105d3 commit c2a59d9

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

CMakeLists.txt

+5-11
Original file line numberDiff line numberDiff line change
@@ -121,17 +121,11 @@ if (WIN32)
121121
)
122122
endif()
123123

124-
if (TARGET TileDB::tiledb_static)
125-
target_link_libraries(tiledbjni
126-
PRIVATE
127-
TileDB::tiledb_static
128-
)
129-
else()
130-
target_link_libraries(tiledbjni
131-
PRIVATE
132-
TileDB::tiledb_shared
133-
)
134-
endif()
124+
target_link_libraries(tiledbjni
125+
PRIVATE
126+
TileDB::tiledb_shared
127+
)
128+
135129

136130
# Set rpath to be relative to the .so.
137131
if (APPLE)

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ TILEDB_VERBOSE=ON
44
TILEDB_S3=ON
55
TILEDB_AZURE=OFF
66
TILEDB_HDFS=OFF
7-
TILEDB_SERIALIZATION=OFF
7+
TILEDB_SERIALIZATION=ON
88
FORCE_BUILD_TILEDB=OFF
99
DOWNLOAD_TILEDB_PREBUILT=ON
1010
TILEDB_SKIP_S3AWSSDK_DIR_LENGTH_CHECK=ON

0 commit comments

Comments
 (0)