summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2009-12-11 19:42:26 (GMT)
committerDavid Cole <david.cole@kitware.com>2009-12-11 19:42:26 (GMT)
commite28941b6d7aae6f07be7c594d74e29c7156c692d (patch)
tree9682b8639664680f93e372fa4f686ec8866426ef /Modules
parentc46fd5ebf956a8ab85c609d0ff638f77bf10ea21 (diff)
downloadCMake-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')
-rw-r--r--Modules/GetPrerequisites.cmake2
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()