ENH: add more paths for the HP
[cmake.git] / Modules / FindITK.cmake
bloba74664ae252383046a996bedcd0da1ef336e9ea0
2 # Find the native ITK includes and library
4 # This module defines
6 # ITK_BINARY_PATH - where is the binary tree (only defined if SOURCE_PATH is defined)
7 # USE_ITK_FILE - the full path and location of the UseITK.cmake file
11 # Look for a binary tree
12
13 FIND_PATH(ITK_BINARY_PATH UseITK.cmake
14     [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild1]
15     [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild2]
16     [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild3]
17     [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild4]
18     [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild5]
19     [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild6]
20     [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild7]
21     [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild8]
22     [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild9]
23     [HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild10]
24     ../ITKBIN
25     ../itkbin
26     ../Insight-vc
27     ../InsightBin
28     ITKBIN
29     itkbin
30     $ENV{HOME}/ITKBIN
31     $ENV{HOME}/Insight
32     $ENV{HOME}/InsightBin
33     $ENV{HOME}/itkbin
34     )
38 IF (ITK_BINARY_PATH)
39   SET (USE_ITK_FILE ${ITK_BINARY_PATH}/UseITK.cmake)
40 ENDIF (ITK_BINARY_PATH)