summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorTill Adam <till@kdab.com>2012-07-24 13:36:52 (GMT)
committerTill Adam <till@kdab.com>2012-07-24 13:36:52 (GMT)
commit7581f4faf9576177b9d221c00240f9afa8bf1298 (patch)
tree9fad3a466206c60ea6e9e1e25bdd5da8e07a36d3 /cmake
parent3efa3f0fc9a227aa0573558662fe4209a91b5a55 (diff)
downloadlibkolabxml-7581f4faf9576177b9d221c00240f9afa8bf1298.tar.gz
Find xsd on Mac as well.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindLibkolabxmlDependencies.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindLibkolabxmlDependencies.cmake b/cmake/modules/FindLibkolabxmlDependencies.cmake
index 66eefd6..08bf0ed 100644
--- a/cmake/modules/FindLibkolabxmlDependencies.cmake
+++ b/cmake/modules/FindLibkolabxmlDependencies.cmake
@@ -16,7 +16,7 @@ else()
set(UUID_LIBRARY_FOUND TRUE)
endif()
-find_program(XSDCXX xsdcxx /usr/bin/)
+find_program(XSDCXX NAMES xsdcxx xsd /usr/bin/)
if (XSDCXX)
find_path(XSDCXX_INCLUDE_DIRS NAMES xsd/cxx/version.hxx)
endif()