mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2025-10-19 10:23:17 +00:00
Merge pull request #1453 from val-ms/windows-install-openssl-conflict
CMake: Fix Windows build issue w/ conflicting libraries
This commit is contained in:
commit
72805c52a4
5 changed files with 12 additions and 0 deletions
|
@ -47,6 +47,8 @@ if(WIN32)
|
|||
UNRESOLVED_DEPENDENCIES_VAR _u_deps
|
||||
DIRECTORIES
|
||||
$<TARGET_FILE_DIR:Curses::curses>
|
||||
POST_EXCLUDE_REGEXES
|
||||
"[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]"
|
||||
)
|
||||
foreach(_file ${_r_deps})
|
||||
string(TOLOWER ${_file} _file_lower)
|
||||
|
|
|
@ -57,6 +57,8 @@ if(WIN32)
|
|||
DIRECTORIES
|
||||
$<TARGET_FILE_DIR:CURL::libcurl>
|
||||
$<TARGET_FILE_DIR:JSONC::jsonc>
|
||||
POST_EXCLUDE_REGEXES
|
||||
"[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]"
|
||||
)
|
||||
foreach(_file ${_r_deps})
|
||||
string(TOLOWER ${_file} _file_lower)
|
||||
|
|
|
@ -495,6 +495,8 @@ if(ENABLE_SHARED_LIB)
|
|||
$<TARGET_FILE_DIR:PCRE2::pcre2>
|
||||
$<TARGET_FILE_DIR:LibXml2::LibXml2>
|
||||
$<TARGET_FILE_DIR:JSONC::jsonc>
|
||||
POST_EXCLUDE_REGEXES
|
||||
"[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]"
|
||||
)
|
||||
foreach(_file ${_r_deps})
|
||||
string(TOLOWER ${_file} _file_lower)
|
||||
|
|
|
@ -83,6 +83,8 @@ if(ENABLE_SHARED_LIB)
|
|||
$<TARGET_FILE_DIR:CURL::libcurl>
|
||||
$<TARGET_FILE_DIR:OpenSSL::SSL>
|
||||
$<TARGET_FILE_DIR:OpenSSL::Crypto>
|
||||
POST_EXCLUDE_REGEXES
|
||||
"[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]"
|
||||
)
|
||||
foreach(_file ${_r_deps})
|
||||
string(TOLOWER ${_file} _file_lower)
|
||||
|
|
|
@ -441,6 +441,8 @@ if(WIN32)
|
|||
$<TARGET_FILE_DIR:LibXml2::LibXml2>
|
||||
$<TARGET_FILE_DIR:CURL::libcurl>
|
||||
$<TARGET_FILE_DIR:JSONC::jsonc>
|
||||
POST_EXCLUDE_REGEXES
|
||||
"[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]"
|
||||
CONFLICTING_DEPENDENCIES_PREFIX CTEST_CONFLICTING_DEPENDENCIES
|
||||
)
|
||||
foreach(_file ${_r_deps})
|
||||
|
@ -496,6 +498,8 @@ if(WIN32)
|
|||
$<TARGET_FILE_DIR:PCRE2::pcre2>
|
||||
$<TARGET_FILE_DIR:LibXml2::LibXml2>
|
||||
$<TARGET_FILE_DIR:JSONC::jsonc>
|
||||
POST_EXCLUDE_REGEXES
|
||||
"[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]"
|
||||
CONFLICTING_DEPENDENCIES_PREFIX CTEST_CONFLICTING_DEPENDENCIES
|
||||
)
|
||||
foreach(_file ${_r_deps})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue