summaryrefslogtreecommitdiffstats
path: root/Modules/FindGCCXML.cmake
diff options
context:
space:
mode:
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)