diff options
author | Roger Leigh <rleigh@codelibre.net> | 2019-01-30 14:20:06 (GMT) |
---|---|---|
committer | Roger Leigh <rleigh@codelibre.net> | 2019-01-30 14:20:06 (GMT) |
commit | c68465f7908336a29c48539cb9ac0dcb32310abb (patch) | |
tree | d1f38f0f5d3bed3a0e0bb0a626514b33f261de04 /Modules/FindXalanC.cmake | |
parent | 748d024551d8f447046363ad617fc72bdd977fd2 (diff) | |
download | CMake-c68465f7908336a29c48539cb9ac0dcb32310abb.zip CMake-c68465f7908336a29c48539cb9ac0dcb32310abb.tar.gz CMake-c68465f7908336a29c48539cb9ac0dcb32310abb.tar.bz2 |
FindXercesC, FindXalanC: Don't examine non-existent version headers
Diffstat (limited to 'Modules/FindXalanC.cmake')
-rw-r--r-- | Modules/FindXalanC.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindXalanC.cmake b/Modules/FindXalanC.cmake index 0eba3d9..3adaa44 100644 --- a/Modules/FindXalanC.cmake +++ b/Modules/FindXalanC.cmake @@ -76,7 +76,7 @@ find_path(XalanC_INCLUDE_DIR DOC "Xalan-C++ include directory") 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") endif() |