Commit 4ae9515c authored by Claus Kleinwort's avatar Claus Kleinwort
Browse files

cpp: FindROOT.cmake updated

git-svn-id: http://svnsrv.desy.de/public/GeneralBrokenLines/trunk@91 281f6f2b-e318-4fd1-8bce-1a4ba7aab212
parent 16fccb66
......@@ -57,11 +57,11 @@
SET( ROOT_CONFIG_EXECUTABLE ROOT_CONFIG_EXECUTABLE-NOTFOUND )
MARK_AS_ADVANCED( ROOT_CONFIG_EXECUTABLE )
# FIND_PROGRAM: Once one of the calls succeeds the result variable will be set and stored in the cache so that no further call will search again.
FIND_PROGRAM( ROOT_CONFIG_EXECUTABLE root-config PATHS ${ROOT_DIR}/bin NO_DEFAULT_PATH )
IF( NOT ROOT_DIR )
FIND_PROGRAM( ROOT_CONFIG_EXECUTABLE root-config )
ENDIF()
FIND_PROGRAM( ROOT_CONFIG_EXECUTABLE root-config PATHS $ENV{ROOTSYS}/bin NO_DEFAULT_PATH)
FIND_PROGRAM( ROOT_CONFIG_EXECUTABLE root-config PATHS ENV PATH )
FIND_PROGRAM( ROOT_CONFIG_EXECUTABLE root-config )
IF( NOT ROOT_FIND_QUIETLY )
MESSAGE( STATUS "Check for ROOT_CONFIG_EXECUTABLE: ${ROOT_CONFIG_EXECUTABLE}" )
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment