Changeset View
Changeset View
Standalone View
Standalone View
cmake/modules/FindQREncode.cmake
Show First 20 Lines • Show All 47 Lines • ▼ Show 20 Lines | find_component(QREncode qrencode | ||||
INCLUDE_DIRS ${QREncode_INCLUDE_DIRS} | INCLUDE_DIRS ${QREncode_INCLUDE_DIRS} | ||||
) | ) | ||||
endif() | endif() | ||||
include(FindPackageHandleStandardArgs) | include(FindPackageHandleStandardArgs) | ||||
find_package_handle_standard_args(QREncode | find_package_handle_standard_args(QREncode | ||||
REQUIRED_VARS | REQUIRED_VARS | ||||
QREncode_INCLUDE_DIR | QREncode_INCLUDE_DIR | ||||
REASON_FAILURE_MESSAGE "if displaying QR codes is not required, it can be skipped by passing -DENABLE_QRCODE=OFF to the cmake command line" | |||||
HANDLE_COMPONENTS | HANDLE_COMPONENTS | ||||
) | ) |