summaryrefslogtreecommitdiffstats
path: root/Modules/FindGCCXML.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-10-24 13:41:17 (GMT)
committerBrad King <brad.king@kitware.com>2001-10-24 13:41:17 (GMT)
commit0a5fbacfacb1e80abae4e498815b5c67ac5f12b5 (patch)
tree37b907276031a85a468831ef3365c08e1d47437e /Modules/FindGCCXML.cmake
parent4b7622b9aeda5f1937e13aaad6851234a1e60c92 (diff)
downloadCMake-0a5fbacfacb1e80abae4e498815b5c67ac5f12b5.zip
CMake-0a5fbacfacb1e80abae4e498815b5c67ac5f12b5.tar.gz
CMake-0a5fbacfacb1e80abae4e498815b5c67ac5f12b5.tar.bz2
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 f6ae142..f0f2960 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)