diff options
Diffstat (limited to 'linden/indra/cmake/BerkeleyDB.cmake')
-rw-r--r-- | linden/indra/cmake/BerkeleyDB.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/cmake/BerkeleyDB.cmake b/linden/indra/cmake/BerkeleyDB.cmake new file mode 100644 index 0000000..d98e791 --- /dev/null +++ b/linden/indra/cmake/BerkeleyDB.cmake | |||
@@ -0,0 +1,11 @@ | |||
1 | # -*- cmake -*- | ||
2 | |||
3 | set(DB_FIND_QUIETLY ON) | ||
4 | set(DB_FIND_REQUIRED ON) | ||
5 | |||
6 | if (STANDALONE) | ||
7 | include(FindBerkeleyDB) | ||
8 | else (STANDALONE) | ||
9 | set(DB_LIBRARIES db-4.2) | ||
10 | set(DB_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include) | ||
11 | endif (STANDALONE) | ||