aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindLibMagic.cmake
blob: 9bed3b3e2e5aa0b51d21ac95e8984d36209c2872 (plain)
1
2
3
4
5
6
7
8
9
10
# Public Domain

find_library (LIBMAGIC_LIBRARIES magic)
find_path (LIBMAGIC_INCLUDE_DIRS magic.h)

include (FindPackageHandleStandardArgs)
find_package_handle_standard_args (LibMagic DEFAULT_MSG
	LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS)

mark_as_advanced (LIBMAGIC_LIBRARIES LIBMAGIC_INCLUDE_DIRS)