comparison Resources/CMake/DatabasesFrameworkParameters.cmake @ 0:7cea966b6829

initial commit
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 04 Jul 2018 08:16:29 +0200
parents
children 714c5d2bee76
comparison
equal deleted inserted replaced
-1:000000000000 0:7cea966b6829
1 # Orthanc - A Lightweight, RESTful DICOM Store
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
3 # Department, University Hospital of Liege, Belgium
4 # Copyright (C) 2017-2018 Osimis S.A., Belgium
5 #
6 # This program is free software: you can redistribute it and/or
7 # modify it under the terms of the GNU Affero General Public License
8 # as published by the Free Software Foundation, either version 3 of
9 # the License, or (at your option) any later version.
10 #
11 # This program is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 # Affero General Public License for more details.
15 #
16 # You should have received a copy of the GNU Affero General Public License
17 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18
19
20
21 #####################################################################
22 ## Import the parameters of the Orthanc Framework
23 #####################################################################
24
25 include(${CMAKE_CURRENT_LIST_DIR}/../../Resources/Orthanc/DownloadOrthancFramework.cmake)
26 include(${ORTHANC_ROOT}/Resources/CMake/OrthancFrameworkParameters.cmake)
27
28
29 #####################################################################
30 ## CMake parameters tunable by the user
31 #####################################################################
32
33 set(USE_SYSTEM_LIBPQ ON CACHE BOOL "Use the system version of the PostgreSQL client library")
34 set(USE_SYSTEM_MYSQL_CLIENT ON CACHE BOOL "Use the system version of the MySQL client library")
35
36
37 #####################################################################
38 ## Internal CMake parameters to enable the optional subcomponents of
39 ## the database engines
40 #####################################################################
41
42 set(ENABLE_MYSQL_BACKEND OFF)
43 set(ENABLE_POSTGRESQL_BACKEND OFF)
44 set(ENABLE_SQLITE_BACKEND OFF)