Skip to content

Commit 5095bdb

Browse files
test 5
1 parent 1f894b4 commit 5095bdb

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

CMakeLists.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,15 @@ if (WIN32)
119119
${PCRE2_POSIX}
120120
${PCRE2_8}
121121
)
122+
123+
get_target_property(LIBLZMA_LIB lzma IMPORTED_LOCATION)
124+
get_filename_component(LIBLZMA_LIB_PATH ${LIBLZMA_LIB} DIRECTORY)
125+
find_library(LIBLZMA lzma REQUIRED PATHS ${LIBLZMA_LIB_PATH})
126+
target_link_libraries(tiledbjni
127+
PRIVATE
128+
${LIBLZMA}
129+
)
130+
122131
endif()
123132

124133
if (TARGET TileDB::tiledb_static)

0 commit comments

Comments
 (0)