summaryrefslogtreecommitdiff
path: root/Modules/FindGCCXML.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-10-24 09:41:17 -0400
committerBrad King <brad.king@kitware.com>2001-10-24 09:41:17 -0400
commit0a5fbacfacb1e80abae4e498815b5c67ac5f12b5 (patch)
tree37b907276031a85a468831ef3365c08e1d47437e /Modules/FindGCCXML.cmake
parent4b7622b9aeda5f1937e13aaad6851234a1e60c92 (diff)
downloadcmake-0a5fbacfacb1e80abae4e498815b5c67ac5f12b5.tar.gz
ENH: Improved FIND_PROGRAM call to find the executable in PREFIX/share/GCC_XML, the new standard install location.
Diffstat (limited to 'Modules/FindGCCXML.cmake')
-rw-r--r--Modules/FindGCCXML.cmake14
1 files changed, 9 insertions, 5 deletions
diff --git a/Modules/FindGCCXML.cmake b/Modules/FindGCCXML.cmake
index f6ae1425c2..f0f296023d 100644
--- a/Modules/FindGCCXML.cmake
+++ b/Modules/FindGCCXML.cmake
@@ -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)