summaryrefslogtreecommitdiffstats
path: root/fluent-bit/cmake/homebrew.cmake
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-05 11:19:16 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-24 09:53:24 +0000
commitb5f8ee61a7f7e9bd291dd26b0585d03eb686c941 (patch)
treed4d31289c39fc00da064a825df13a0b98ce95b10 /fluent-bit/cmake/homebrew.cmake
parentAdding upstream version 1.44.3. (diff)
downloadnetdata-b5f8ee61a7f7e9bd291dd26b0585d03eb686c941.tar.xz
netdata-b5f8ee61a7f7e9bd291dd26b0585d03eb686c941.zip
Adding upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/cmake/homebrew.cmake')
-rw-r--r--fluent-bit/cmake/homebrew.cmake38
1 files changed, 0 insertions, 38 deletions
diff --git a/fluent-bit/cmake/homebrew.cmake b/fluent-bit/cmake/homebrew.cmake
deleted file mode 100644
index e2b32e1a..00000000
--- a/fluent-bit/cmake/homebrew.cmake
+++ /dev/null
@@ -1,38 +0,0 @@
-# Search homebrewed keg-only versions of Bison and Flex on macOS.
-execute_process(
- COMMAND brew --prefix bison
- RESULT_VARIABLE HOMEBREW_BISON
- OUTPUT_VARIABLE HOMEBREW_BISON_PREFIX
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
-if (HOMEBREW_BISON EQUAL 0 AND EXISTS "${HOMEBREW_BISON_PREFIX}")
- message(STATUS "Using bison keg installed by Homebrew at ${HOMEBREW_BISON_PREFIX}")
- set(BISON_EXECUTABLE "${HOMEBREW_BISON_PREFIX}/bin/bison")
-endif()
-
-execute_process(
- COMMAND brew --prefix flex
- RESULT_VARIABLE HOMEBREW_FLEX
- OUTPUT_VARIABLE HOMEBREW_FLEX_PREFIX
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
-if (HOMEBREW_FLEX EQUAL 0 AND EXISTS "${HOMEBREW_FLEX_PREFIX}")
- message(STATUS "Using flex keg installed by Homebrew at ${HOMEBREW_FLEX_PREFIX}")
- set(FLEX_EXECUTABLE "${HOMEBREW_FLEX_PREFIX}/bin/flex")
-endif()
-
-if (OPENSSL_ROOT_DIR)
- message(STATUS "Using openssl specified by cmake option: ${OPENSSL_ROOT_DIR}")
-else()
- # Also, searching homebrewed OpenSSL automatically.
- execute_process(
- COMMAND brew --prefix openssl
- RESULT_VARIABLE HOMEBREW_OPENSSL
- OUTPUT_VARIABLE HOMEBREW_OPENSSL_PREFIX
- OUTPUT_STRIP_TRAILING_WHITESPACE
- )
- if (HOMEBREW_OPENSSL EQUAL 0 AND EXISTS "${HOMEBREW_OPENSSL_PREFIX}")
- message(STATUS "Using openssl keg installed by Homebrew at ${HOMEBREW_OPENSSL_PREFIX}")
- set(OPENSSL_ROOT_DIR "${HOMEBREW_OPENSSL_PREFIX}")
- endif()
-endif()