diff options
author | David Cole <david.cole@kitware.com> | 2009-12-11 19:42:26 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2009-12-11 19:42:26 (GMT) |
commit | e28941b6d7aae6f07be7c594d74e29c7156c692d (patch) | |
tree | 9682b8639664680f93e372fa4f686ec8866426ef /Modules/GetPrerequisites.cmake | |
parent | c46fd5ebf956a8ab85c609d0ff638f77bf10ea21 (diff) | |
download | CMake-e28941b6d7aae6f07be7c594d74e29c7156c692d.zip CMake-e28941b6d7aae6f07be7c594d74e29c7156c692d.tar.gz CMake-e28941b6d7aae6f07be7c594d74e29c7156c692d.tar.bz2 |
Consider a windows directory named syswow* a 'system' directory for GetPrerequisites.cmake purposes.
Diffstat (limited to 'Modules/GetPrerequisites.cmake')
-rw-r--r-- | Modules/GetPrerequisites.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake index 67d4a14..123b433 100644 --- a/Modules/GetPrerequisites.cmake +++ b/Modules/GetPrerequisites.cmake @@ -389,7 +389,7 @@ function(gp_resolved_file_type original_file file exepath dirs type_var) string(TOLOWER "$ENV{windir}" windir) string(REGEX REPLACE "\\\\" "/" windir "${windir}") - if(lower MATCHES "^(${sysroot}/system|${windir}/system|(.*/)*msvc[^/]+dll)") + if(lower MATCHES "^(${sysroot}/sys(tem|wow)|${windir}/sys(tem|wow)|(.*/)*msvc[^/]+dll)") set(is_system 1) endif() endif() |