From f78c7cf82726324fcee6b738e3d670bee02ad3ff Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Tue, 21 Nov 2023 16:10:08 -0500 Subject: autotools no more cmake! --- cmake/Findsentry.cmake | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 cmake/Findsentry.cmake (limited to 'cmake/Findsentry.cmake') 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 -- cgit v1.2.3