ENH: Improved FIND_PROGRAM call to find the executable in PREFIX/share/GCC_XML, the new standard install location.

This commit is contained in:
Brad King 2001-10-24 09:41:17 -04:00
parent 4b7622b9ae
commit 0a5fbacfac
1 changed files with 9 additions and 5 deletions

View File

@ -1,8 +1,12 @@
FIND_PROGRAM(GCCXML gccxml
/usr/local/bin
/usr/bin
[HKEY_CURRENT_USER\\Software\\Kitware\\GCC_XML;loc]
"C:/Program Files/GCC_XML")
FIND_PROGRAM(GCCXML
NAMES gccxml
../share/GCC_XML/gccxml
../GCC_XML/gccxml
PATHS /usr/share/GCC_XML
/usr/local/share/GCC_XML
[HKEY_CURRENT_USER\\Software\\Kitware\\GCC_XML;loc]
"C:/Program Files/GCC_XML"
)
IF(GCCXML)
CONFIGURE_GCCXML(${GCCXML} GCCXML_FLAGS)