aboutsummaryrefslogtreecommitdiff
path: root/cmake/Findsentry.cmake
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2023-11-21 16:10:08 -0500
committerCara Salter <cara@devcara.com>2023-11-21 16:10:08 -0500
commitf78c7cf82726324fcee6b738e3d670bee02ad3ff (patch)
treeece037cba4f701f67f22bdbd8f916f66a0e08036 /cmake/Findsentry.cmake
parentbe5e0dd226a29d1d45f94d02bb63c64defbe33fd (diff)
download142bot-master.tar.gz
142bot-master.zip
autotoolsHEADmaster
no more cmake!
Diffstat (limited to 'cmake/Findsentry.cmake')
-rw-r--r--cmake/Findsentry.cmake14
1 files changed, 0 insertions, 14 deletions
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