Consider a windows directory named syswow* a 'system' directory for GetPrerequisites.cmake purposes.

This commit is contained in:
David Cole 2009-12-11 14:42:26 -05:00
parent c46fd5ebf9
commit e28941b6d7
1 changed files with 1 additions and 1 deletions

View File

@ -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()