Ignore this email. Expect a v2 later today.
On Monday, December 15, 2014 10:34:35 AM Dylan Baker wrote: > Currently there is a mixture of WAFFLE_INCLUDE_DIR and > WAFFLE_INCLUDE_DIRS, which leads to the find not working correctly. By > using only WAFFLE_INCLUDE_DIR this problem is fixed. > > Signed-off-by: Dylan Baker <[email protected]> > --- > > This patch should be suitable for inclusion in the stable 1.4 branch as > well. > > cmake/Modules/FindWaffle.cmake | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/cmake/Modules/FindWaffle.cmake b/cmake/Modules/FindWaffle.cmake > index 972bdfe..e51b83d 100644 > --- a/cmake/Modules/FindWaffle.cmake > +++ b/cmake/Modules/FindWaffle.cmake > @@ -39,12 +39,14 @@ if(NOT DEFINED WAFFLE_FIND_VERSION_MAJOR) > set(WAFFLE_FIND_VERSION_MAJOR 1) > endif() > > -find_path(WAFFLE_INCLUDE_DIRS > +find_path( > + WAFFLE_INCLUDE_DIR > NAMES waffle.h > PATH_SUFFIXES "waffle-${WAFFLE_FIND_VERSION_MAJOR}" > ) > > -find_library(WAFFLE_LIBRARIES > +find_library( > + WAFFLE_LIBRARIES > NAMES "waffle-${WAFFLE_FIND_VERSION_MAJOR}" > ) > > @@ -60,11 +62,11 @@ endif() > # set 'WAFFLE_FOUND' to TRUE if all listed variables are TRUE > include(FindPackageHandleStandardArgs) > find_package_handle_standard_args(Waffle > - REQUIRED_VARS WAFFLE_LIBRARIES WAFFLE_INCLUDE_DIRS > + REQUIRED_VARS WAFFLE_LIBRARIES WAFFLE_INCLUDE_DIR > VERSION_VAR WAFFLE_VERSION_STRING > ) > > -mark_as_advanced(WAFFLE_LIBRARIES WAFFLE_INCLUDE_DIRS) > +mark_as_advanced(WAFFLE_LIBRARIES WAFFLE_INCLUDE_DIR) > > # Don't expose these variables. > # > -- > 2.2.0 >
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ waffle mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/waffle

