-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathFindMAF.cmake
executable file
·38 lines (34 loc) · 1.56 KB
/
FindMAF.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# Program: MULTIMOD APPLICATION FRAMEWORK (MAF)
# Module: $RCSfile: FindMAF.cmake,v $
# Language: CMake 1.2
# Date: $Date: 2005-10-13 14:01:02 $
# Version: $Revision: 1.1 $
#
# Description:
# This module finds the location of MAF include and library paths
#
MESSAGE (STATUS "Find: Searching for MAF.")
# If not built within MAF project try standard places
FIND_PATH(MAF_BINARY_PATH MAFConfig.cmake
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild1]
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild2]
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild3]
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild4]
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild5]
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild6]
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild7]
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild8]
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild9]
[HKEY_CURRENT_USER\\Software\\Kitware\\CMakeSetup\\Settings\\StartPath;WhereBuild10]
)
IF(MAF_BINARY_PATH)
SET (MAF_FOUND 1)
FIND_FILE(MAF_USE_FILE MAFUse.cmake ${MAF_BINARY_PATH})
INCLUDE(${MAF_BINARY_PATH}/MAFConfig.cmake)
ENDIF(MAF_BINARY_PATH)
#MARK_AS_ADVANCED (
# MAF_BINARY_PATH
# MAF_FOUND
# )
#MESSAGE("FindMAF: EOF")