wowlet/cmake/FindQREncode.cmake

11 lines
385 B
CMake
Raw Normal View History

find_path(QRENCODE_INCLUDE_DIR qrencode.h)
2021-01-10 23:40:17 +00:00
message(STATUS "QRENCODE PATH ${QRENCODE_INCLUDE_DIR}")
find_library(QRENCODE_LIBRARY qrencode)
2021-01-10 23:40:17 +00:00
message(STATUS "QRENCODE LIBARY ${QRENCODE_LIBRARY}")
mark_as_advanced(QRENCODE_LIBRARY QRENCODE_INCLUDE_DIR)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(QREncode DEFAULT_MSG QRENCODE_LIBRARY QRENCODE_INCLUDE_DIR)