aboutsummaryrefslogtreecommitdiff
path: root/attic/modules/FindBerkeleyDB.cmake
diff options
context:
space:
mode:
authorChristophe Giboudeaux <christophe@krop.fr>2021-03-29 20:28:58 +0200
committerChristophe Giboudeaux <christophe@krop.fr>2021-04-06 19:59:17 +0000
commit272352969834598cfd20f3e8b15916aa3ccebbbb (patch)
treed0d831203f0816ee2d4edecb526cdbdec64ea3d4 /attic/modules/FindBerkeleyDB.cmake
parentd88db6a1469bdcb48e64f265d35a6f7867767b54 (diff)
downloadextra-cmake-modules-272352969834598cfd20f3e8b15916aa3ccebbbb.tar.gz
extra-cmake-modules-272352969834598cfd20f3e8b15916aa3ccebbbb.tar.bz2
Clean ECM's attic
Diffstat (limited to 'attic/modules/FindBerkeleyDB.cmake')
-rw-r--r--attic/modules/FindBerkeleyDB.cmake25
1 files changed, 0 insertions, 25 deletions
diff --git a/attic/modules/FindBerkeleyDB.cmake b/attic/modules/FindBerkeleyDB.cmake
deleted file mode 100644
index 021d9428..00000000
--- a/attic/modules/FindBerkeleyDB.cmake
+++ /dev/null
@@ -1,25 +0,0 @@
-# - Try to find Berkeley DB
-# Once done this will define
-#
-# BERKELEY_DB_FOUND - system has Berkeley DB
-# BERKELEY_DB_INCLUDE_DIR - the Berkeley DB include directory
-# BERKELEY_DB_LIBRARIES - Link these to use Berkeley DB
-# BERKELEY_DB_DEFINITIONS - Compiler switches required for using Berkeley DB
-
-# Copyright (c) 2006, Alexander Dymo, <adymo@kdevelop.org>
-#
-# Redistribution and use is allowed according to the terms of the BSD license.
-# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-
-find_path(BERKELEY_DB_INCLUDE_DIR db.h
- /usr/include/db4
- /usr/local/include/db4
-)
-
-find_library(BERKELEY_DB_LIBRARIES NAMES db )
-
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(Berkeley "Could not find Berkeley DB >= 4.1" BERKELEY_DB_INCLUDE_DIR BERKELEY_DB_LIBRARIES)
-# show the BERKELEY_DB_INCLUDE_DIR and BERKELEY_DB_LIBRARIES variables only in the advanced view
-mark_as_advanced(BERKELEY_DB_INCLUDE_DIR BERKELEY_DB_LIBRARIES )
-