svn-gvsig-desktop / branches / v2_0_0_prep / build / CMakeModules / FindDepMan.cmake @ 28566
History | View | Annotate | Download (508 Bytes)
1 |
FIND_PATH(DEPMAN_PATH NAMES .cache Frameworks bin include lib share |
---|---|
2 |
PATHS |
3 |
$ENV{DEPMAN_REPO} |
4 |
$ENV{DEPMAN_PATH} |
5 |
~/.depman |
6 |
/Developer/DepMan |
7 |
/DepMan |
8 |
$ENV{USERPROFILE}/.depman |
9 |
NO_DEFAULT_PATH |
10 |
) |
11 |
|
12 |
SET(DEPMAN_FOUND "NO") |
13 |
IF(DEPMAN_PATH) |
14 |
SET(DEPMAN_FOUND "YES") |
15 |
SET(CMAKE_INCLUDE_PATH ${DEPMAN_PATH}/include ${DEPMAN_PATH}/Frameworks ${CMAKE_INCLUDE_PATH}) |
16 |
SET(CMAKE_LIBRARY_PATH ${DEPMAN_PATH}/lib ${DEPMAN_PATH}/Frameworks ${CMAKE_LIBRARY_PATH}) |
17 |
ENDIF(DEPMAN_PATH) |
18 |
|
19 |
MARK_AS_ADVANCED(DEPMAN_PATH) |
20 |
|