diff 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
line wrap: on
line diff
--- a/Resources/CMake/DatabasesFrameworkParameters.cmake	Thu Jul 22 20:20:26 2021 +0200
+++ b/Resources/CMake/DatabasesFrameworkParameters.cmake	Tue Aug 10 20:08:53 2021 +0200
@@ -36,6 +36,11 @@
 set(USE_SYSTEM_LIBPQ ON CACHE BOOL "Use the system version of the PostgreSQL client library")
 set(USE_SYSTEM_MYSQL_CLIENT ON CACHE BOOL "Use the system version of the MySQL client library")
 
+if (NOT CMAKE_SYSTEM_NAME STREQUAL "Windows")
+  set(USE_SYSTEM_UNIX_ODBC ON CACHE BOOL "Use the system version of unixODBC")
+  set(USE_SYSTEM_LTDL ON CACHE BOOL "Use the system version of libltdl")
+endif()
+
 
 #####################################################################
 ## Internal CMake parameters to enable the optional subcomponents of
@@ -43,5 +48,6 @@
 #####################################################################
 
 set(ENABLE_MYSQL_BACKEND OFF)
+set(ENABLE_ODBC_BACKEND OFF)
 set(ENABLE_POSTGRESQL_BACKEND OFF)
 set(ENABLE_SQLITE_BACKEND OFF)