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

Alex Lancaster alexl at users.sourceforge.net
Thu Nov 19 01:17:35 UTC 2009


>>>>> 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.

Alex



More information about the tellico-users mailing list