mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Reduce Warnings in Debian
A number of adjustments to reduce the warnings when building .deb packages in Debian
This commit is contained in:
@ -1,29 +0,0 @@
|
||||
# - Find QRencode
|
||||
# Find the native QRencode includes and library
|
||||
#
|
||||
# QR_INCLUDE_DIR - where to find qrencode.h, etc.
|
||||
# QR_LIBRARIES - List of libraries when using QRencode.
|
||||
# QR_FOUND - True if QRencode found.
|
||||
|
||||
|
||||
IF (QR_INCLUDE_DIR)
|
||||
# Already in cache, be silent
|
||||
SET(QR_FIND_QUIETLY TRUE)
|
||||
ENDIF (QR_INCLUDE_DIR)
|
||||
|
||||
FIND_PATH(QR_INCLUDE_DIR qrencode.h)
|
||||
|
||||
FIND_LIBRARY(QR_LIBRARY NAMES qrencode )
|
||||
|
||||
# handle the QUIETLY and REQUIRED arguments and set QR_FOUND to TRUE if
|
||||
# all listed variables are TRUE
|
||||
INCLUDE(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(QR DEFAULT_MSG QR_LIBRARY QR_INCLUDE_DIR)
|
||||
|
||||
IF(QR_FOUND)
|
||||
SET( QR_LIBRARIES ${QR_LIBRARY} )
|
||||
ELSE(QR_FOUND)
|
||||
SET( QR_LIBRARIES )
|
||||
ENDIF(QR_FOUND)
|
||||
|
||||
MARK_AS_ADVANCED( QR_LIBRARY QR_INCLUDE_DIR )
|
Reference in New Issue
Block a user