Skip to content

Commit 84814ba

Browse files
windows fix
1 parent 26345c4 commit 84814ba

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

CMakeLists.txt

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -108,26 +108,6 @@ target_link_libraries(tiledbjni
108108
${JAVA_JVM_LIBRARY}
109109
)
110110

111-
# Temporary work-around for windows linkage issue with TileDB 2.9
112-
if (WIN32)
113-
get_target_property(LIBMAGIC_LIB libmagic IMPORTED_LOCATION)
114-
get_filename_component(LIBMAGIC_LIB_PATH ${LIBMAGIC_LIB} DIRECTORY)
115-
find_library(PCRE2_POSIX pcre2-posix REQUIRED PATHS ${LIBMAGIC_LIB_PATH})
116-
find_library(PCRE2_8 pcre2-8 REQUIRED PATHS ${LIBMAGIC_LIB_PATH})
117-
target_link_libraries(tiledbjni
118-
PRIVATE
119-
${PCRE2_POSIX}
120-
${PCRE2_8}
121-
WebServices
122-
Winhttp
123-
Wininet
124-
Userenv
125-
Version
126-
Secur32
127-
Ncrypt
128-
)
129-
endif()
130-
131111
if (TARGET TileDB::tiledb_static)
132112
target_link_libraries(tiledbjni
133113
PRIVATE

0 commit comments

Comments
 (0)