[Tellico-users] barcode functionality doesn't appear to be built with 2.1

Robby Stephenson robby at periapsis.org
Thu Nov 19 04:48:04 UTC 2009


On Wednesday 18 November 2009, Alex Lancaster wrote:
> >>>>> Alex Lancaster  writes:
> 
> [...]
> 
> > IF( ENABLE_WEBCAM ) TARGET_LINK_LIBRARIES(tellico barcode
> > ${LIBV4L_LIBRARIES}) ENDIF( ENABLE_WEBCAM )
> >
> > so shouldn't the success in finding libv4l mean that the directory
> > gets added?  or are there additional cmake commands the .spec file
> > needs to supply?
> 
> OK, so I figured out I needed to add:
> 
> -DENABLE_WEBCAM:BOOL=ON
> 
> to the cmake call.  Is there really a need to add the extra step if
> libv4l is found, shouldn't that be enought?  It's bit confusing when the
> cmake reports that libv4l is detected and that barcoding will be
> supported, but then it actually requires more magic cmake incantations
> to actually get the support built.  It should either fail or succeed
> completely, rather than partially succeed without giving a clue about
> the extra step.

True, that make sense. You can also use -DENABLE_WEBCAM=true, by the way.

Robby



More information about the tellico-users mailing list