]> git.uio.no Git - u/mrichter/AliRoot.git/blame - cmake/modules/Findfink.cmake
Update of the ACORDE's Geometry (Mario)
[u/mrichter/AliRoot.git] / cmake / modules / Findfink.cmake
CommitLineData
e969a926 1# -*- mode: cmake -*-
2# - Finds fink instalation
3
4If(APPLE)
5 Find_program(FINK fink)
6
7 If (${FINK} MATCHES "ROOT_CONFIG-NOTFOUND")
8 Set(FINK_FOUND FALSE)
9 Message(SEND_ERROR "Could not find fink, will continue but probably fail...")
10 Set(FINK_ROOT "/usr/local")
11 Else (${FINK} MATCHES "ROOT_CONFIG-NOTFOUND")
12 String(REPLACE "/bin/fink" "" FINK_ROOT ${FINK})
13 Message(STATUS "Found fink in ${FINK_ROOT}")
14 EndIf (${FINK} MATCHES "ROOT_CONFIG-NOTFOUND")
15
16Else(APPLE)
17 Message(FATAL "fink only needed on Mac, something is very wrong...")
18Endif(APPLE)
19