summaryrefslogtreecommitdiff
path: root/indra/cmake/BerkeleyDB.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/BerkeleyDB.cmake')
-rw-r--r--indra/cmake/BerkeleyDB.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/indra/cmake/BerkeleyDB.cmake b/indra/cmake/BerkeleyDB.cmake
new file mode 100644
index 0000000000..d98e79179d
--- /dev/null
+++ b/indra/cmake/BerkeleyDB.cmake
@@ -0,0 +1,11 @@
+# -*- cmake -*-
+
+set(DB_FIND_QUIETLY ON)
+set(DB_FIND_REQUIRED ON)
+
+if (STANDALONE)
+ include(FindBerkeleyDB)
+else (STANDALONE)
+ set(DB_LIBRARIES db-4.2)
+ set(DB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
+endif (STANDALONE)