ODBC not found, some libraries or features will be disabled. See the documentation for ODBC or manually set these variables: ODBC_INCLUDE_DIR = C:/MinGW/include ODBC_LIBRARIES = ODBC_LIBRARY-NOTFOUND |
WITH_ODBC boolean Should CMake try to detect ODBC libraries. On Unix systems, CMake tries to find unixODBC or iODBC implementations. ODBC_INCLUDE_DIRECTORIES string Path to ODBC implementation include directories where CMake should look for sql.h header. ODBC_LIBRARIES string Full paths to libraries to link SOCI against to enable the backend support. SOCI_ODBC boolean Requests to build ODBC backend. Automatically switched on, if WITH_ODBC is set to ON. SOCI_ODBC_TEST_{database}_CONNSTR string ODBC Data Source Name (DSN) or ODBC File Data Source Name (FILEDSN) to test database: Microsoft Access (.mdb), Microsoft SQL Server, MySQL, PostgreSQL or any other ODBC SQL data source. {database} is placeholder for name of database driver ACCESS, MYSQL, POSTGRESQL, etc. See ODBC backend refernece for details. Example: -DSOCI_ODBC_TEST_POSTGRESQL_CONNSTR="FILEDSN=/home/mloskot/dev/soci/_git/build/test-postgresql.dsn" |
cmake -DODBC_INCLUDE_DIR=C:/your/path |