diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2013-01-19 22:52:44 -0500 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2013-01-19 22:52:44 -0500 |
commit | 38e741b669bd1c30551c685712a272a4a3f04bfc (patch) | |
tree | 5f0f192b18ece1609e71d0f71998dcc760d01ad9 /cmake | |
parent | 24ffaf869b68b2fa0e61f90165b11d82fb156371 (diff) | |
download | rabbitmq-c-38e741b669bd1c30551c685712a272a4a3f04bfc.tar.gz |
Fix for XmlTo not found warning in tools directory
Issue was FindPackageHandleStandardArgs upper-cases the package name
so when XmlTo was passed to the FIND_PACKAGE_HANDLE_STANDARD_ARGS
function it created the variable XMLTO_FOUND instead of the expected
XmlTo_FOUND
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindXmlTo.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindXmlTo.cmake b/cmake/FindXmlTo.cmake index 8f9ecc1..d2d4d63 100644 --- a/cmake/FindXmlTo.cmake +++ b/cmake/FindXmlTo.cmake @@ -10,7 +10,7 @@ find_program ( XMLTO_EXECUTABLE include(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(XmlTo +FIND_PACKAGE_HANDLE_STANDARD_ARGS(XMLTO REQUIRED_VARS XMLTO_EXECUTABLE) mark_as_advanced( XMLTO_EXECUTABLE ) |