wireshark/cmake
João Valverde 3a32757313 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@v6e.pt>
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2020-05-01 19:44:12 +00:00
..
modules CMake: Fix FindGLIB2 for saner output 2020-05-01 19:44:12 +00:00
TestFileOffsetBits.c cmake: Detect proper large file defines even with -Wno-error 2016-06-16 04:02:43 +00:00
TestLargeFiles.c.cmakein cmake: Detect proper large file defines even with -Wno-error 2016-06-16 04:02:43 +00:00