Browse Source

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

David Cole 16 years ago
parent
commit
e28941b6d7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/GetPrerequisites.cmake

+ 1 - 1
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()