diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:57:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:57:58 +0000 |
commit | be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /fluent-bit/cmake/FindMonkey.cmake | |
parent | Initial commit. (diff) | |
download | netdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.tar.xz netdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.zip |
Adding upstream version 1.44.3.upstream/1.44.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/cmake/FindMonkey.cmake')
-rw-r--r-- | fluent-bit/cmake/FindMonkey.cmake | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fluent-bit/cmake/FindMonkey.cmake b/fluent-bit/cmake/FindMonkey.cmake new file mode 100644 index 00000000..483f51aa --- /dev/null +++ b/fluent-bit/cmake/FindMonkey.cmake @@ -0,0 +1,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) |