Wireshark-commits: [Wireshark-commits] master 3a32757: CMake: Fix FindGLIB2 for saner output
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=3a32757313e85368e88fdd9dbb82f839514569f5
Submitter: "Peter Wu <peter@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
3a32757 by João Valverde (joao.valverde@xxxxxxxxxxxxxxxxxx):
CMake: Fix FindGLIB2 for saner output
Apparently FindPackageHandleStandardArgs uses if(DEFINED ...) to test
VERSION_VAR, for somewhat obscure reasons. If we didn't find a suitable
GLib package we must not define GLIB2_VERSION, otherwise the status
output is confused and just generally wrong.
Change-Id: Iad4012e69a7c641c50d1e399bbfdb51583cb3b40
Reviewed-on: https://code.wireshark.org/review/36990
Reviewed-by: João Valverde <j@xxxxxx>
Petri-Dish: João Valverde <j@xxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from 6b4c158 UFTP4: fix for tree display of uftp4.complete.reserved
add 3a32757 CMake: Fix FindGLIB2 for saner output
Summary of changes:
cmake/modules/FindGLIB2.cmake | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)