diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2017-04-24 23:20:39 +0200 |
---|---|---|
committer | Peter Wu <peter@lekensteyn.nl> | 2017-04-25 15:15:33 +0000 |
commit | 451731f0c6d3991008df9f173782fc26f28629ba (patch) | |
tree | 865d4bacd74adb5146c0b6017f328394e43a38e8 /tools | |
parent | bfd1461ec81311f31e9fc0f3f298ae779911c7f4 (diff) | |
download | wireshark-451731f0c6d3991008df9f173782fc26f28629ba.tar.gz |
cmake: fix build without libxml2
When LibXml2 is not found, the LIBXML2_LIBRARIES is set to
"LIBXML2_LIBRARIES-NOTFOUND" rather than an empty string (as other
FindXxx modules do). This results in an error because the variable is
used in target_link_libraries (via epan_LIBS).
As workaround, explicitly clear the variable to ignore the cache entry.
Change-Id: I9e164f9c175b23559ac6bc37f9aca5f41df79d1f
Reviewed-on: https://code.wireshark.org/review/21321
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions