File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ target_link_libraries( regex
4747 PRIVATE
4848 PCRE2::pcre2
4949 JSONC::jsonc )
50+ if (WIN32 )
51+ target_link_libraries ( regex PRIVATE ClamAV::win32_compat )
52+ endif ()
5053
5154add_library ( lzma_sdk OBJECT )
5255target_sources ( lzma_sdk
@@ -104,6 +107,9 @@ target_link_libraries( lzma_sdk
104107 PRIVATE
105108 PCRE2::pcre2
106109 JSONC::jsonc )
110+ if (WIN32 )
111+ target_link_libraries ( lzma_sdk PRIVATE ClamAV::win32_compat )
112+ endif ()
107113
108114if (MAINTAINER_MODE)
109115 bison_target( yara_grammar
@@ -156,6 +162,9 @@ target_link_libraries( yara
156162 PRIVATE
157163 PCRE2::pcre2
158164 JSONC::jsonc )
165+ if (WIN32 )
166+ target_link_libraries ( yara PRIVATE ClamAV::win32_compat )
167+ endif ()
159168
160169# Bytecode Runtime
161170add_library ( bytecode_runtime OBJECT )
@@ -186,6 +195,9 @@ target_link_libraries( bytecode_runtime
186195 PRIVATE
187196 PCRE2::pcre2
188197 JSONC::jsonc )
198+ if (WIN32 )
199+ target_link_libraries ( bytecode_runtime PRIVATE ClamAV::win32_compat )
200+ endif ()
189201
190202# not using an object library for the sake of Xcode compatibility
191203# See: https://cmake.org/pipermail/cmake/2016-May/063479.html
You can’t perform that action at this time.
0 commit comments