comparison Resources/CMake/DatabasesFrameworkParameters.cmake @ 329:b5fb8b77ce4d

initial commit of ODBC framework
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Aug 2021 20:08:53 +0200
parents 3236894320d6
children 16aac0287485
comparison
equal deleted inserted replaced
328:6a49c495c940 329:b5fb8b77ce4d
34 ##################################################################### 34 #####################################################################
35 35
36 set(USE_SYSTEM_LIBPQ ON CACHE BOOL "Use the system version of the PostgreSQL client library") 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") 37 set(USE_SYSTEM_MYSQL_CLIENT ON CACHE BOOL "Use the system version of the MySQL client library")
38 38
39 if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
40 set(USE_SYSTEM_UNIX_ODBC ON CACHE BOOL "Use the system version of unixODBC")
41 set(USE_SYSTEM_LTDL ON CACHE BOOL "Use the system version of libltdl")
42 endif()
43
39 44
40 ##################################################################### 45 #####################################################################
41 ## Internal CMake parameters to enable the optional subcomponents of 46 ## Internal CMake parameters to enable the optional subcomponents of
42 ## the database engines 47 ## the database engines
43 ##################################################################### 48 #####################################################################
44 49
45 set(ENABLE_MYSQL_BACKEND OFF) 50 set(ENABLE_MYSQL_BACKEND OFF)
51 set(ENABLE_ODBC_BACKEND OFF)
46 set(ENABLE_POSTGRESQL_BACKEND OFF) 52 set(ENABLE_POSTGRESQL_BACKEND OFF)
47 set(ENABLE_SQLITE_BACKEND OFF) 53 set(ENABLE_SQLITE_BACKEND OFF)