Mercurial > hg > orthanc-databases
annotate Resources/CMake/DatabasesFrameworkParameters.cmake @ 167:0f01eaf17232
sync
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Aug 2020 13:40:46 +0200 |
parents | 710537acb488 |
children | 3236894320d6 |
rev | line source |
---|---|
0 | 1 # Orthanc - A Lightweight, RESTful DICOM Store |
2 # Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
3 # Department, University Hospital of Liege, Belgium | |
140
4cd7e45b671e
upgrade to year 2020
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
67
diff
changeset
|
4 # Copyright (C) 2017-2020 Osimis S.A., Belgium |
0 | 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 | |
155
23cf7def8e44
use of OrthancPluginsExports.cmake, avoid race conditions with EmbedResources.py
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
25 include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/CMake/DownloadOrthancFramework.cmake) |
156
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
155
diff
changeset
|
26 |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
155
diff
changeset
|
27 if (NOT ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") |
167 | 28 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkParameters.cmake) |
156
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
155
diff
changeset
|
29 endif() |
0 | 30 |
31 | |
32 ##################################################################### | |
33 ## CMake parameters tunable by the user | |
34 ##################################################################### | |
35 | |
36 set(USE_SYSTEM_LIBPQ ON CACHE BOOL "Use the system version of the PostgreSQL client library") | |
37 set(USE_SYSTEM_MYSQL_CLIENT ON CACHE BOOL "Use the system version of the MySQL client library") | |
38 | |
39 | |
40 ##################################################################### | |
41 ## Internal CMake parameters to enable the optional subcomponents of | |
42 ## the database engines | |
43 ##################################################################### | |
44 | |
45 set(ENABLE_MYSQL_BACKEND OFF) | |
46 set(ENABLE_POSTGRESQL_BACKEND OFF) | |
47 set(ENABLE_SQLITE_BACKEND OFF) |