diff options
author | Brad King <brad.king@kitware.com> | 2017-10-11 14:32:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-10-11 15:19:03 (GMT) |
commit | e7720a0f3f695b55b876689180e32d6c2fc5343c (patch) | |
tree | b2d7b9f521e700fcc01fab3c974a56c148730482 /Modules/CheckVariableExists.c | |
parent | b1aa8a4773da5fb4e0d4ee9b7fd224ed9bdbba31 (diff) | |
download | CMake-e7720a0f3f695b55b876689180e32d6c2fc5343c.zip CMake-e7720a0f3f695b55b876689180e32d6c2fc5343c.tar.gz CMake-e7720a0f3f695b55b876689180e32d6c2fc5343c.tar.bz2 |
FindXMLRPC: Tolerate no include directories
`xmlrpc-c-config $modules --cflags` may report no `-I` flags if the
headers are in a standard location like `/usr/include`. In this case
it is okay for `XMLRPC_INCLUDE_DIRS` to be empty.
Ideally the `--cflags` output should be used as hints for a `find_path`
call to really find the headers as we do for other find modules, but
simply assuming no explicit include directories are needed is good
enough for now.
Fixes: #17347
Diffstat (limited to 'Modules/CheckVariableExists.c')
0 files changed, 0 insertions, 0 deletions