Browse Source

Fix typo in Intel xiar search code

This renames the variable '_intel_xair_hints' to '_intel_xiar_hints'.
Brad King 16 years ago
parent
commit
d455eeb6d7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      Modules/Platform/Linux-Intel.cmake

+ 3 - 3
Modules/Platform/Linux-Intel.cmake

@@ -1,11 +1,11 @@
 if(NOT XIAR)
-  set(_intel_xair_hints)
+  set(_intel_xiar_hints)
   foreach(lang C CXX Fortran)
     if(IS_ABSOLUTE "${CMAKE_${lang}_COMPILER}")
       get_filename_component(_hint "${CMAKE_${lang}_COMPILER}" PATH)
-      list(APPEND _intel_xair_hints ${_hint})
+      list(APPEND _intel_xiar_hints ${_hint})
     endif()
   endforeach()
-  find_program(XIAR NAMES xiar HINTS ${_intel_xair_hints})
+  find_program(XIAR NAMES xiar HINTS ${_intel_xiar_hints})
   mark_as_advanced(XIAR)
 endif(NOT XIAR)