diff --git a/clamdtop/CMakeLists.txt b/clamdtop/CMakeLists.txt index 1a8b24e66..b5d889bd8 100644 --- a/clamdtop/CMakeLists.txt +++ b/clamdtop/CMakeLists.txt @@ -47,6 +47,8 @@ if(WIN32) UNRESOLVED_DEPENDENCIES_VAR _u_deps DIRECTORIES $ + POST_EXCLUDE_REGEXES + "[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]" ) foreach(_file ${_r_deps}) string(TOLOWER ${_file} _file_lower) diff --git a/clamsubmit/CMakeLists.txt b/clamsubmit/CMakeLists.txt index 8909ef82e..ccc983f0a 100644 --- a/clamsubmit/CMakeLists.txt +++ b/clamsubmit/CMakeLists.txt @@ -57,6 +57,8 @@ if(WIN32) DIRECTORIES $ $ + POST_EXCLUDE_REGEXES + "[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]" ) foreach(_file ${_r_deps}) string(TOLOWER ${_file} _file_lower) diff --git a/libclamav/CMakeLists.txt b/libclamav/CMakeLists.txt index ca8578a23..010f3d5f6 100644 --- a/libclamav/CMakeLists.txt +++ b/libclamav/CMakeLists.txt @@ -495,6 +495,8 @@ if(ENABLE_SHARED_LIB) $ $ $ + POST_EXCLUDE_REGEXES + "[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]" ) foreach(_file ${_r_deps}) string(TOLOWER ${_file} _file_lower) diff --git a/libfreshclam/CMakeLists.txt b/libfreshclam/CMakeLists.txt index ae09880ae..d72e5d07a 100644 --- a/libfreshclam/CMakeLists.txt +++ b/libfreshclam/CMakeLists.txt @@ -83,6 +83,8 @@ if(ENABLE_SHARED_LIB) $ $ $ + POST_EXCLUDE_REGEXES + "[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]" ) foreach(_file ${_r_deps}) string(TOLOWER ${_file} _file_lower) diff --git a/unit_tests/CMakeLists.txt b/unit_tests/CMakeLists.txt index e750e0393..bf7e2ef34 100644 --- a/unit_tests/CMakeLists.txt +++ b/unit_tests/CMakeLists.txt @@ -441,6 +441,8 @@ if(WIN32) $ $ $ + 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) $ $ $ + POST_EXCLUDE_REGEXES + "[cC]:[\\/][wW][iI][nN][dD][oO][wW][sS]" CONFLICTING_DEPENDENCIES_PREFIX CTEST_CONFLICTING_DEPENDENCIES ) foreach(_file ${_r_deps})