owlps/cmake/Modules/FindConfuse.cmake

18 lines
453 B
CMake
Raw Normal View History

# This module tries to find the Confuse library and sets the following
# variables:
# CONFUSE_INCLUDE_DIR
# CONFUSE_LIBRARY
# CONFUSE_FOUND
# Search for the header file
find_path(CONFUSE_INCLUDE_DIR confuse.h
PATH_SUFFIXES include)
# Search for the library
find_library(CONFUSE_LIBRARY confuse
PATH_SUFFIXES lib)
# Did we find everything we need?
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Confuse DEFAULT_MSG
CONFUSE_LIBRARY CONFUSE_INCLUDE_DIR)