Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Peter Stroia-Williams
CMake
Commits
c68465f7
Commit
c68465f7
authored
Jan 30, 2019
by
Roger Leigh
Browse files
FindXercesC, FindXalanC: Don't examine non-existent version headers
parent
748d0245
Changes
2
Hide whitespace changes
Inline
Side-by-side
Modules/FindXalanC.cmake
View file @
c68465f7
...
@@ -76,7 +76,7 @@ find_path(XalanC_INCLUDE_DIR
...
@@ -76,7 +76,7 @@ find_path(XalanC_INCLUDE_DIR
DOC
"Xalan-C++ include directory"
)
DOC
"Xalan-C++ include directory"
)
mark_as_advanced
(
XalanC_INCLUDE_DIR
)
mark_as_advanced
(
XalanC_INCLUDE_DIR
)
if
(
XalanC_INCLUDE_DIR
)
if
(
XalanC_INCLUDE_DIR
AND EXISTS
"
${
XalanC_INCLUDE_DIR
}
/xalanc/Include/XalanVersion.hpp"
)
_XalanC_GET_VERSION
(
"
${
XalanC_INCLUDE_DIR
}
/xalanc/Include/XalanVersion.hpp"
)
_XalanC_GET_VERSION
(
"
${
XalanC_INCLUDE_DIR
}
/xalanc/Include/XalanVersion.hpp"
)
endif
()
endif
()
...
...
Modules/FindXercesC.cmake
View file @
c68465f7
...
@@ -74,7 +74,7 @@ find_path(XercesC_INCLUDE_DIR
...
@@ -74,7 +74,7 @@ find_path(XercesC_INCLUDE_DIR
DOC
"Xerces-C++ include directory"
)
DOC
"Xerces-C++ include directory"
)
mark_as_advanced
(
XercesC_INCLUDE_DIR
)
mark_as_advanced
(
XercesC_INCLUDE_DIR
)
if
(
XercesC_INCLUDE_DIR
)
if
(
XercesC_INCLUDE_DIR
AND EXISTS
"
${
XercesC_INCLUDE_DIR
}
/xercesc/util/XercesVersion.hpp"
)
_XercesC_GET_VERSION
(
"
${
XercesC_INCLUDE_DIR
}
/xercesc/util/XercesVersion.hpp"
)
_XercesC_GET_VERSION
(
"
${
XercesC_INCLUDE_DIR
}
/xercesc/util/XercesVersion.hpp"
)
endif
()
endif
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment