anotherim-desktop/cmake/FindHandy.cmake
2021-09-25 21:39:41 +02:00

12 lines
294 B
CMake

include(PkgConfigWithFallback)
find_pkg_config_with_fallback(Handy
PKG_CONFIG_NAME libhandy-1
LIB_NAMES libhandy-1
INCLUDE_NAMES handy.h
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Handy
REQUIRED_VARS Handy_LIBRARY
VERSION_VAR Handy_VERSION)