json-rpc-shell/cmake/FindLibMagic.cmake

11 lines
300 B
CMake
Raw Permalink Normal View History

# Public Domain
find_library (LIBMAGIC_LIBRARIES magic)
find_path (LIBMAGIC_INCLUDE_DIRS magic.h)
2016-01-16 06:37:56 +01:00
include (FindPackageHandleStandardArgs)
find_package_handle_standard_args (LibMagic DEFAULT_MSG
LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS)
2016-01-16 06:37:56 +01:00
mark_as_advanced (LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS)