blob: 483f51aac577b9f5a281066593a5c2074bd0c194 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# Try to find Monkey HTTP Server core/library
# ===========================================
#
# http://monkey-project.com
#
# Definitions:
#
# - MONKEY_FOUND : source code found
# - MONKEY_INCLUDE_DIR: root include directory
unset(MONKEY_INCLUDE_DIR CACHE)
find_path(MONKEY_INCLUDE_DIR
NAMES monkey/mk_core.h monkey/mk_lib.h
PATHS ${PROJECT_SOURCE_DIR}/lib/monkey/include
CMAKE_FIND_ROOT_PATH_BOTH
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Monkey DEFAULT_MSG MONKEY_INCLUDE_DIR)
include(FeatureSummary)
|