summaryrefslogtreecommitdiff
path: root/indra/cmake/BerkeleyDB.cmake
blob: d98e79179d9f6c635d69473438408926901ef0ca (plain)
1
2
3
4
5
6
7
8
9
10
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)