Mercurial > hg > orthanc-databases
annotate Resources/CMake/DatabasesFrameworkConfiguration.cmake @ 401:a8774581adfc db-protobuf
replaced "WithLabels" and "WithoutLabels", by "Labels" and "LabelsConstraint"
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 07 Apr 2023 22:32:15 +0200 |
parents | 3d6886f3e5b3 |
children | e25f4500b531 |
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 | |
389
3d6886f3e5b3
upgrade to year 2023
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
359
diff
changeset
|
4 # Copyright (C) 2017-2023 Osimis S.A., Belgium |
3d6886f3e5b3
upgrade to year 2023
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
359
diff
changeset
|
5 # Copyright (C) 2021-2023 Sebastien Jodogne, ICTEAM UCLouvain, Belgium |
0 | 6 # |
7 # This program is free software: you can redistribute it and/or | |
8 # modify it under the terms of the GNU Affero General Public License | |
9 # as published by the Free Software Foundation, either version 3 of | |
10 # the License, or (at your option) any later version. | |
11 # | |
12 # This program is distributed in the hope that it will be useful, but | |
13 # WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 # Affero General Public License for more details. | |
16 # | |
17 # You should have received a copy of the GNU Affero General Public License | |
18 # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 | |
20 | |
21 | |
22 ##################################################################### | |
23 ## Enable the Orthanc subcomponents depending on the configuration | |
24 ##################################################################### | |
25 | |
26 if (ENABLE_SQLITE_BACKEND) | |
27 set(ENABLE_SQLITE ON) | |
28 endif() | |
29 | |
30 if (ENABLE_POSTGRESQL_BACKEND) | |
80
16df1a6ea452
Fix issue 105 (Unable to connect to PostgreSQL database using SSL)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
67
diff
changeset
|
31 set(ENABLE_CRYPTO_OPTIONS ON) |
0 | 32 set(ENABLE_ZLIB ON) |
358
1280b40d6696
switch to OpenSSL 3.0.x
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
332
diff
changeset
|
33 set(ENABLE_OPENSSL_ENGINES ON) |
0 | 34 endif() |
35 | |
36 if (ENABLE_MYSQL_BACKEND) | |
37 set(ENABLE_CRYPTO_OPTIONS ON) | |
38 set(ENABLE_SSL ON) | |
3 | 39 set(ENABLE_ZLIB ON) |
39 | 40 set(ENABLE_LOCALE ON) # iconv is needed |
41 set(ENABLE_WEB_CLIENT ON) # libcurl is needed | |
358
1280b40d6696
switch to OpenSSL 3.0.x
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
332
diff
changeset
|
42 set(ENABLE_OPENSSL_ENGINES ON) |
0 | 43 endif() |
44 | |
329
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
45 if (ENABLE_ODBC_BACKEND) |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
46 endif() |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
47 |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
48 |
0 | 49 |
50 ##################################################################### | |
51 ## Configure the Orthanc Framework | |
52 ##################################################################### | |
53 | |
156
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
54 if (ORTHANC_FRAMEWORK_SOURCE STREQUAL "system") |
284
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
55 if (ORTHANC_FRAMEWORK_USE_SHARED) |
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
56 include(FindBoost) |
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
57 find_package(Boost COMPONENTS regex thread) |
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
58 |
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
59 if (NOT Boost_FOUND) |
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
60 message(FATAL_ERROR "Unable to locate Boost on this system") |
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
61 endif() |
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
62 |
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
63 link_libraries(${Boost_LIBRARIES} jsoncpp) |
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
64 endif() |
64bf8914f02e
sync + no more need of "-DORTHANC_FRAMEWORK_ADDITIONAL_LIBRARIES" to dynamically link against system-wide orthanc framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
245
diff
changeset
|
65 |
156
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
66 link_libraries(${ORTHANC_FRAMEWORK_LIBRARIES}) |
54
b3de8c09c8b0
disable of Orthanc modules that are useless for databases
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
39
diff
changeset
|
67 |
156
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
68 if (ENABLE_SQLITE_BACKEND) |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
69 add_definitions(-DORTHANC_ENABLE_SQLITE=1) |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
70 endif() |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
71 |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
72 set(USE_SYSTEM_GOOGLE_TEST ON CACHE BOOL "Use the system version of Google Test") |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
73 set(USE_GOOGLE_TEST_DEBIAN_PACKAGE OFF CACHE BOOL "Use the sources of Google Test shipped with libgtest-dev (Debian only)") |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
74 mark_as_advanced(USE_GOOGLE_TEST_DEBIAN_PACKAGE) |
300
a116dbdf9118
replaced CMAKE_SOURCE_DIR by CMAKE_CURRENT_LIST_DIR in CMake scripts
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
299
diff
changeset
|
75 include(${CMAKE_CURRENT_LIST_DIR}/../Orthanc/CMake/GoogleTestConfiguration.cmake) |
156
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
76 |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
77 else() |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
78 # Those modules of the Orthanc framework are not needed when dealing |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
79 # with databases |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
80 set(ENABLE_MODULE_IMAGES OFF) |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
81 set(ENABLE_MODULE_JOBS OFF) |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
82 set(ENABLE_MODULE_DICOM OFF) |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
83 |
167 | 84 include(${ORTHANC_FRAMEWORK_ROOT}/../Resources/CMake/OrthancFrameworkConfiguration.cmake) |
286
eb03551d3a5f
improved CMakeLists.txt
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
284
diff
changeset
|
85 include_directories(${ORTHANC_FRAMEWORK_ROOT}) |
156
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
86 endif() |
710537acb488
dynamic linking against the system-wide Orthanc framework library
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
152
diff
changeset
|
87 |
0 | 88 |
89 | |
90 ##################################################################### | |
91 ## Common source files for the databases | |
92 ##################################################################### | |
93 | |
94 set(ORTHANC_DATABASES_ROOT ${CMAKE_CURRENT_LIST_DIR}/../..) | |
95 | |
96 set(DATABASES_SOURCES | |
97 ${ORTHANC_DATABASES_ROOT}/Framework/Common/BinaryStringValue.cpp | |
98 ${ORTHANC_DATABASES_ROOT}/Framework/Common/DatabaseManager.cpp | |
299
70685295a373
added OrthancDatabases::EnumerationToString(ValueType)
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
298
diff
changeset
|
99 ${ORTHANC_DATABASES_ROOT}/Framework/Common/DatabasesEnumerations.cpp |
0 | 100 ${ORTHANC_DATABASES_ROOT}/Framework/Common/Dictionary.cpp |
101 ${ORTHANC_DATABASES_ROOT}/Framework/Common/GenericFormatter.cpp | |
298
8f655f308de9
added IResult::Print()
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
286
diff
changeset
|
102 ${ORTHANC_DATABASES_ROOT}/Framework/Common/IResult.cpp |
23
b2ff1cd2907a
handling of implicit transactions in DatabaseManager
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
3
diff
changeset
|
103 ${ORTHANC_DATABASES_ROOT}/Framework/Common/ImplicitTransaction.cpp |
244
02cd7254c949
separating class InputFileValue from FileValue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
226
diff
changeset
|
104 ${ORTHANC_DATABASES_ROOT}/Framework/Common/InputFileValue.cpp |
0 | 105 ${ORTHANC_DATABASES_ROOT}/Framework/Common/Integer64Value.cpp |
106 ${ORTHANC_DATABASES_ROOT}/Framework/Common/NullValue.cpp | |
107 ${ORTHANC_DATABASES_ROOT}/Framework/Common/Query.cpp | |
108 ${ORTHANC_DATABASES_ROOT}/Framework/Common/ResultBase.cpp | |
245
9d00e5e073e8
rename FileValue as ResultFileValue
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
244
diff
changeset
|
109 ${ORTHANC_DATABASES_ROOT}/Framework/Common/ResultFileValue.cpp |
226
a4918d57435c
DatabaseManager doesn't IDatabaseFactory anymore
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
193
diff
changeset
|
110 ${ORTHANC_DATABASES_ROOT}/Framework/Common/RetryDatabaseFactory.cpp |
a4918d57435c
DatabaseManager doesn't IDatabaseFactory anymore
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
193
diff
changeset
|
111 ${ORTHANC_DATABASES_ROOT}/Framework/Common/RetryDatabaseFactory.cpp |
0 | 112 ${ORTHANC_DATABASES_ROOT}/Framework/Common/StatementLocation.cpp |
113 ${ORTHANC_DATABASES_ROOT}/Framework/Common/Utf8StringValue.cpp | |
114 ) | |
115 | |
116 | |
117 ##################################################################### | |
118 ## Configure SQLite if need be | |
119 ##################################################################### | |
120 | |
121 if (ENABLE_SQLITE_BACKEND) | |
122 list(APPEND DATABASES_SOURCES | |
123 ${ORTHANC_DATABASES_ROOT}/Framework/SQLite/SQLiteDatabase.cpp | |
124 ${ORTHANC_DATABASES_ROOT}/Framework/SQLite/SQLiteResult.cpp | |
125 ${ORTHANC_DATABASES_ROOT}/Framework/SQLite/SQLiteStatement.cpp | |
126 ${ORTHANC_DATABASES_ROOT}/Framework/SQLite/SQLiteTransaction.cpp | |
127 ) | |
128 endif() | |
129 | |
130 | |
131 ##################################################################### | |
132 ## Configure MySQL client (MariaDB) if need be | |
133 ##################################################################### | |
134 | |
135 if (ENABLE_MYSQL_BACKEND) | |
136 include(${CMAKE_CURRENT_LIST_DIR}/MariaDBConfiguration.cmake) | |
137 add_definitions(-DORTHANC_ENABLE_MYSQL=1) | |
138 list(APPEND DATABASES_SOURCES | |
139 ${ORTHANC_DATABASES_ROOT}/Framework/MySQL/MySQLDatabase.cpp | |
140 ${ORTHANC_DATABASES_ROOT}/Framework/MySQL/MySQLParameters.cpp | |
141 ${ORTHANC_DATABASES_ROOT}/Framework/MySQL/MySQLResult.cpp | |
142 ${ORTHANC_DATABASES_ROOT}/Framework/MySQL/MySQLStatement.cpp | |
143 ${ORTHANC_DATABASES_ROOT}/Framework/MySQL/MySQLTransaction.cpp | |
144 ${MYSQL_CLIENT_SOURCES} | |
145 ) | |
146 else() | |
147 unset(USE_SYSTEM_MYSQL_CLIENT CACHE) | |
148 add_definitions(-DORTHANC_ENABLE_MYSQL=0) | |
149 endif() | |
150 | |
151 | |
152 | |
153 ##################################################################### | |
154 ## Configure PostgreSQL client if need be | |
155 ##################################################################### | |
156 | |
157 if (ENABLE_POSTGRESQL_BACKEND) | |
158 include(${CMAKE_CURRENT_LIST_DIR}/PostgreSQLConfiguration.cmake) | |
159 add_definitions(-DORTHANC_ENABLE_POSTGRESQL=1) | |
160 list(APPEND DATABASES_SOURCES | |
161 ${ORTHANC_DATABASES_ROOT}/Framework/PostgreSQL/PostgreSQLDatabase.cpp | |
162 ${ORTHANC_DATABASES_ROOT}/Framework/PostgreSQL/PostgreSQLLargeObject.cpp | |
163 ${ORTHANC_DATABASES_ROOT}/Framework/PostgreSQL/PostgreSQLParameters.cpp | |
164 ${ORTHANC_DATABASES_ROOT}/Framework/PostgreSQL/PostgreSQLResult.cpp | |
165 ${ORTHANC_DATABASES_ROOT}/Framework/PostgreSQL/PostgreSQLStatement.cpp | |
166 ${ORTHANC_DATABASES_ROOT}/Framework/PostgreSQL/PostgreSQLTransaction.cpp | |
167 ${LIBPQ_SOURCES} | |
168 ) | |
169 else() | |
170 unset(USE_SYSTEM_LIBPQ CACHE) | |
171 add_definitions(-DORTHANC_ENABLE_POSTGRESQL=0) | |
172 endif() | |
329
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
173 |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
174 |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
175 |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
176 ##################################################################### |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
177 ## Configure ODBC if need be |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
178 ##################################################################### |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
179 |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
180 if (ENABLE_ODBC_BACKEND) |
332
2592c0e9b724
fix link on windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
331
diff
changeset
|
181 if ("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows") |
2592c0e9b724
fix link on windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
331
diff
changeset
|
182 link_libraries(odbc32) |
2592c0e9b724
fix link on windows
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
331
diff
changeset
|
183 else() |
331
674bbb9d1c83
added OdbcEnvironment::GlobalInitialization()
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
329
diff
changeset
|
184 include(${CMAKE_CURRENT_LIST_DIR}/UnixOdbcConfiguration.cmake) |
674bbb9d1c83
added OdbcEnvironment::GlobalInitialization()
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
329
diff
changeset
|
185 endif() |
674bbb9d1c83
added OdbcEnvironment::GlobalInitialization()
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
329
diff
changeset
|
186 |
329
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
187 add_definitions(-DORTHANC_ENABLE_ODBC=1) |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
188 list(APPEND DATABASES_SOURCES |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
189 ${ORTHANC_DATABASES_ROOT}/Framework/Odbc/OdbcDatabase.cpp |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
190 ${ORTHANC_DATABASES_ROOT}/Framework/Odbc/OdbcEnvironment.cpp |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
191 ${ORTHANC_DATABASES_ROOT}/Framework/Odbc/OdbcPreparedStatement.cpp |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
192 ${ORTHANC_DATABASES_ROOT}/Framework/Odbc/OdbcResult.cpp |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
193 ${ORTHANC_DATABASES_ROOT}/Framework/Odbc/OdbcStatement.cpp |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
194 ${LIBPQ_SOURCES} |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
195 ) |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
196 else() |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
197 unset(USE_SYSTEM_UNIX_ODBC) |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
198 unset(USE_SYSTEM_LTDL) |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
199 add_definitions(-DORTHANC_ENABLE_ODBC=0) |
b5fb8b77ce4d
initial commit of ODBC framework
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
300
diff
changeset
|
200 endif() |