diff options
author | Cara Salter <cara@devcara.com> | 2023-11-21 16:10:08 -0500 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2023-11-21 16:10:08 -0500 |
commit | f78c7cf82726324fcee6b738e3d670bee02ad3ff (patch) | |
tree | ece037cba4f701f67f22bdbd8f916f66a0e08036 /cmake | |
parent | be5e0dd226a29d1d45f94d02bb63c64defbe33fd (diff) | |
download | 142bot-f78c7cf82726324fcee6b738e3d670bee02ad3ff.tar.gz 142bot-f78c7cf82726324fcee6b738e3d670bee02ad3ff.zip |
no more cmake!
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/FindPCRE.cmake | 37 | ||||
-rw-r--r-- | cmake/Findcpr.cmake | 14 | ||||
-rw-r--r-- | cmake/Findcurl.cmake | 14 | ||||
-rw-r--r-- | cmake/Finddpp.cmake | 14 | ||||
-rw-r--r-- | cmake/Findsentry.cmake | 14 | ||||
-rw-r--r-- | cmake/Findspdlog.cmake | 14 | ||||
-rw-r--r-- | cmake/dpp-config.cmake | 21 |
7 files changed, 0 insertions, 128 deletions
diff --git a/cmake/FindPCRE.cmake b/cmake/FindPCRE.cmake deleted file mode 100644 index d6a77a5..0000000 --- a/cmake/FindPCRE.cmake +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright (C) 2007-2009 LuaDist. -# Created by Peter Kapec <kapecp@gmail.com> -# Redistribution and use of this file is allowed according to the terms of the MIT license. -# For details see the COPYRIGHT file distributed with LuaDist. -# Note: -# Searching headers and libraries is very simple and is NOT as powerful as scripts -# distributed with CMake, because LuaDist defines directories to search for. -# Everyone is encouraged to contact the author with improvements. Maybe this file -# becomes part of CMake distribution sometimes. - -# - Find pcre -# Find the native PCRE headers and libraries. -# -# PCRE_INCLUDE_DIRS - where to find pcre.h, etc. -# PCRE_LIBRARIES - List of libraries when using pcre. -# PCRE_FOUND - True if pcre found. - -# Look for the header file. -FIND_PATH(PCRE_INCLUDE_DIR NAMES pcre.h) - -# Look for the library. -FIND_LIBRARY(PCRE_LIBRARY NAMES pcre) - -# Handle the QUIETLY and REQUIRED arguments and set PCRE_FOUND to TRUE if all listed variables are TRUE. -INCLUDE(FindPackageHandleStandardArgs) -FIND_PACKAGE_HANDLE_STANDARD_ARGS(PCRE DEFAULT_MSG PCRE_LIBRARY PCRE_INCLUDE_DIR) - -# Copy the results to the output variables. -IF(PCRE_FOUND) - SET(PCRE_LIBRARIES ${PCRE_LIBRARY}) - SET(PCRE_INCLUDE_DIRS ${PCRE_INCLUDE_DIR}) -ELSE(PCRE_FOUND) - SET(PCRE_LIBRARIES) - SET(PCRE_INCLUDE_DIRS) -ENDIF(PCRE_FOUND) - -MARK_AS_ADVANCED(PCRE_INCLUDE_DIRS PCRE_LIBRARIES)
\ No newline at end of file diff --git a/cmake/Findcpr.cmake b/cmake/Findcpr.cmake deleted file mode 100644 index a8aed9d..0000000 --- a/cmake/Findcpr.cmake +++ /dev/null @@ -1,14 +0,0 @@ -include(FindPackageHandleStandardArgs) - -find_library(CPR_LIBRARY NAMES cpr) - -find_package_handle_standard_args(cpr REQUIRED_VARS CPR_LIBRARY) - -if (CPR_FOUND) - mark_as_advanced(CPR_LIBRARY) -endif() - -if(CPR_FOUND AND NOT TARGET cpr::cpr) - add_library(cpr::cpr IMPORTED UNKNOWN) - set_property(TARGET cpr::cpr PROPERTY IMPORTED_LOCATION ${CPR_LIBRARY}) -endif()
\ No newline at end of file diff --git a/cmake/Findcurl.cmake b/cmake/Findcurl.cmake deleted file mode 100644 index 3ad12ea..0000000 --- a/cmake/Findcurl.cmake +++ /dev/null @@ -1,14 +0,0 @@ -include(FindPackageHandleStandardArgs) - -find_library(CURL_LIBRARY NAMES curl) - -find_package_handle_standard_args(curl REQUIRED_VARS CURL_LIBRARY) - -if (CURL_FOUND) - mark_as_advanced(CURL_LIBRARY) -endif() - -if(CURL_FOUND AND NOT TARGET curl::curl) - add_library(CURL::libcurl IMPORTED UNKNOWN) - set_property(TARGET CURL::libcurl PROPERTY IMPORTED_LOCATION ${CURL_LIBRARY}) -endif()
\ No newline at end of file diff --git a/cmake/Finddpp.cmake b/cmake/Finddpp.cmake deleted file mode 100644 index 92933b8..0000000 --- a/cmake/Finddpp.cmake +++ /dev/null @@ -1,14 +0,0 @@ -include(FindPackageHandleStandardArgs) - -find_library(DPP_LIBRARY NAMES dpp) - -find_package_handle_standard_args(dpp REQUIRED_VARS DPP_LIBRARY) - -if (DPP_FOUND) - mark_as_advanced(DPP_LIBRARY) -endif() - -if(DPP_FOUND AND NOT TARGET dpp::dpp) - add_library(dpp::dpp IMPORTED UNKNOWN) - set_property(TARGET dpp::dpp PROPERTY IMPORTED_LOCATION ${DPP_LIBRARY}) -endif()
\ No newline at end of file diff --git a/cmake/Findsentry.cmake b/cmake/Findsentry.cmake deleted file mode 100644 index 3c2b225..0000000 --- a/cmake/Findsentry.cmake +++ /dev/null @@ -1,14 +0,0 @@ -include(FindPackageHandleStandardArgs) - -find_library(SENTRY_LIBRARY NAMES sentry) - -find_package_handle_standard_args(sentry REQUIRED_VARS SENTRY_LIBRARY) - -if (SENTRY_FOUND) - mark_as_advanced(SENTRY_LIBRARY) -endif() - -if(SENTRY_FOUND AND NOT TARGET sentry::sentry) - add_library(sentry::sentry IMPORTED UNKNOWN) - set_property(TARGET sentry::sentry PROPERTY IMPORTED_LOCATION ${SENTRY_LIBRARY}) -endif()
\ No newline at end of file diff --git a/cmake/Findspdlog.cmake b/cmake/Findspdlog.cmake deleted file mode 100644 index e286724..0000000 --- a/cmake/Findspdlog.cmake +++ /dev/null @@ -1,14 +0,0 @@ -include(FindPackageHandleStandardArgs) - -find_library(SPDLOG_LIBRARY NAMES spdlog) - -find_package_handle_standard_args(spdlog REQUIRED_VARS SPDLOG_LIBRARY) - -if (SPDLOG_FOUND) - mark_as_advanced(SPDLOG_LIBRARY) -endif() - -if(SPDLOG_FOUND AND NOT TARGET spdlog::spdlog) - add_library(spdlog::spdlog IMPORTED UNKNOWN) - set_property(TARGET spdlog::spdlog PROPERTY IMPORTED_LOCATION ${SPDLOG_LIBRARY}) -endif()
\ No newline at end of file diff --git a/cmake/dpp-config.cmake b/cmake/dpp-config.cmake deleted file mode 100644 index dedc62e..0000000 --- a/cmake/dpp-config.cmake +++ /dev/null @@ -1,21 +0,0 @@ -# dpp-config.cmake - package configuration file - -## Get current filesystem path (will a prefixed by where this package was installed) -get_filename_component(SELF_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH) - -## Use this directory to include dpp which has the rest of the project targets -include(${SELF_DIR}/dpp.cmake) - -## Set OpenSSl directory for macos. It is also in our main CMakeLists.txt, but this file is independent from that. -if(APPLE) - if(CMAKE_APPLE_SILICON_PROCESSOR) - set(OPENSSL_ROOT_DIR "/opt/homebrew/opt/openssl") - else() - set(OPENSSL_ROOT_DIR "/usr/local/opt/openssl") - endif() - find_package(OpenSSL REQUIRED) -endif() - -# Search for libdpp dependencies -include(CMakeFindDependencyMacro) -find_dependency(OpenSSL REQUIRED) |