forked from osmocom/wireshark
Undo Graham's change to find the "correct" fix
Change-Id: Ifc368687da972231298ab5935d071a84edd3e56e Reviewed-on: https://code.wireshark.org/review/2261 Reviewed-by: Jörg Mayer <jmayer@loplof.de>
This commit is contained in:
parent
c607a3fa57
commit
caf5e59001
|
@ -35,6 +35,12 @@ else()
|
|||
set( _pkgconfig_REQUIRED "" )
|
||||
endif()
|
||||
|
||||
if( GLIB2_MIN_VERSION )
|
||||
pkg_search_module( GLIB2 ${_pkgconfig_REQUIRED} glib-2.0>=${GLIB2_MIN_VERSION} )
|
||||
else()
|
||||
pkg_search_module( GLIB2 ${_pkgconfig_REQUIRED} glib-2.0 )
|
||||
endif()
|
||||
|
||||
find_path( GLIB2_MAIN_INCLUDE_DIR
|
||||
NAMES
|
||||
glib.h
|
||||
|
@ -101,11 +107,5 @@ else()
|
|||
set( GLIB2_MAIN_INCLUDE_DIRS )
|
||||
endif()
|
||||
|
||||
if( GLIB2_MIN_VERSION )
|
||||
pkg_search_module( GLIB2 ${_pkgconfig_REQUIRED} glib-2.0>=${GLIB2_MIN_VERSION} )
|
||||
else()
|
||||
pkg_search_module( GLIB2 ${_pkgconfig_REQUIRED} glib-2.0 )
|
||||
endif()
|
||||
|
||||
mark_as_advanced( GLIB2_INCLUDE_DIRS GLIB2_LIBRARIES )
|
||||
|
||||
|
|
Loading…
Reference in New Issue