Getting closer :) Below is the log of the commands that you suggested (a minor 
detail: I changes the default db name in my .dsn file from history to main):

Commands:
cmake .. 
-DSOCI_ODBC_TEST_MSSQL_CONNSTR="FILEDSN=C:/Users/Paul/Documents/soci_test.dsn" 
> out1 2>&1
ctest -R mssql >> out1 2>&1

Log:
-- Configuring SOCI: 
-- SOCI_VERSION                             = 4.0.0 
-- SOCI_ABI_VERSION                         = 4_0 
-- SOCI_SHARED                              = ON 
-- SOCI_STATIC                              = ON 
-- SOCI_TESTS                               = ON 
-- SOCI_CXX_C11                             = OFF 
-- Looking for SOCI dependencies: 
-- Threads: 
-- CMAKE_THREAD_LIBS_INIT                   =  
-- Boost: 
-- Boost_RELEASE_VERSION                    = 1.56.0 
-- Boost_INCLUDE_DIR                        = c:/boost/boost_1_56_0 
-- Boost_LIBRARIES                          =  
-- MySQL: 
-- MySQL not found.
-- MySQL Embedded not found.
-- WARNING: 
-- MySQL not found, some libraries or features will be disabled. 
-- See the documentation for MySQL or manually set these variables: 
-- MYSQL_INCLUDE_DIR                        = MYSQL_INCLUDE_DIR-NOTFOUND 
-- MYSQL_LIBRARIES                          = MYSQL_LIBRARIES-NOTFOUND 
-- ODBC: 
-- ODBC_INCLUDE_DIR                         = $(ODBC_LIBS)/../Include 
-- ODBC_LIBRARIES                           = odbc32 
-- Oracle: disabled, since WITH_ORACLE=OFF 
-- PostgreSQL: disabled, since WITH_POSTGRESQL=OFF 
-- SQLite3: 
-- WARNING: 
-- SQLite3 not found, some libraries or features will be disabled. 
-- See the documentation for SQLite3 or manually set these variables: 
-- SQLITE3_INCLUDE_DIR                      = SQLITE3_INCLUDE_DIR-NOTFOUND 
-- SQLITE3_LIBRARIES                        = SQLITE3_LIBRARY-NOTFOUND 
-- Firebird: disabled, since WITH_FIREBIRD=OFF 
-- DB2: disabled, since WITH_DB2=OFF 
-- Configuring SOCI core library: 
-- SOCI_CORE_TARGET                         = soci_core 
-- SOCI_CORE_TARGET_OUTPUT_NAME             = soci_core_4_0 
-- SOCI_CORE_DEPS_LIBS                      =  
-- SOCI_CORE_INCLUDE_DIRS                   = c:/boost/boost_1_56_0 
C:/Prg/soci-master/build.msvc C:/Prg/soci-master/include 
C:/Prg/soci-master/include/private C:/Prg/soci-master/build.msvc/src/core 
-- WITH_BOOST                               = ON 
-- COMPILE_DEFINITIONS                      = SOCI_ABI_VERSION="4_0" DBUG_OFF 
HAVE_BOOST=1 BOOST_ALL_NO_LIB SOCI_LIB_PREFIX="soci_" SOCI_LIB_SUFFIX=".dll" 
SOCI_DEBUG_POSTFIX="" 
-- 
-- Configuring SOCI backend libraries: 
-- MySQL not found.
-- MySQL Embedded not found.
-- ODBC - SOCI backend for ODBC 
-- SOCI_ODBC                                = ON 
-- SOCI_ODBC_TARGET                         = soci_odbc 
-- SOCI_ODBC_OUTPUT_NAME                    = soci_odbc_4_0 
-- SOCI_ODBC_COMPILE_DEFINITIONS            = SOCI_ABI_VERSION="4_0" DBUG_OFF 
HAVE_BOOST=1 BOOST_ALL_NO_LIB DBUG_OFF HAVE_ODBC=1 
-- SOCI_ODBC_INCLUDE_DIRECTORIES            = c:/boost/boost_1_56_0 
C:/Prg/soci-master/build.msvc C:/Prg/soci-master/include 
C:/Prg/soci-master/include/private C:/Prg/soci-master/include/private 
$(ODBC_LIBS)/../Include 
-- 
-- Configuring SOCI tests: 
-- SOCI_ODBC_TEST_ACCESS_CONNSTR            = test-access.dsn 
-- SOCI_ODBC_TEST_MSSQL_CONNSTR             = 
FILEDSN=C:/Users/Paul/Documents/soci_test.dsn 
-- SOCI_ODBC_TEST_MYSQL_CONNSTR             = test-mysql.dsn 
-- SOCI_ODBC_TEST_POSTGRESQL_CONNSTR        = test-postgresql.dsn 
-- 
-- Configuring done
CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "soci_odbc":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "soci_odbc":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "soci_odbc":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "soci_odbc":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in src/backends/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_access_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_access_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_access_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_access_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "RUN_TESTS":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql_static":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mysql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_access":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_access":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_access":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_access":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_postgresql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of
  "soci_odbc_test_mssql":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) in tests/odbc/CMakeLists.txt:
  Policy CMP0021 is not set: Fatal error on relative paths in
  INCLUDE_DIRECTORIES target property.  Run "cmake --help-policy CMP0021" for
  policy details.  Use the cmake_policy command to set the policy and
  suppress this warning.

  Found relative path while evaluating include directories of "INSTALL":

    "$(ODBC_LIBS)/../Include"

This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done
-- Build files have been written to: C:/Prg/soci-master/build.msvc

Test project C:/Prg/soci-master/build.msvc
    Start 3: soci_odbc_test_mssql
1/2 Test #3: soci_odbc_test_mssql .............***Failed    5.22 sec
    Start 4: soci_odbc_test_mssql_static
2/2 Test #4: soci_odbc_test_mssql_static ......***Failed    5.72 sec

0% tests passed, 2 tests failed out of 2

Total Test time (real) =  10.96 sec

The following tests FAILED:
          3 - soci_odbc_test_mssql (Failed)
          4 - soci_odbc_test_mssql_static (Failed)
Errors while running CTest

-----Original Message-----
From: Sergei Nikulov [mailto:sergey.niku...@gmail.com] 
Sent: Tuesday, 22 September 2015 5:56 PM
To: SOCI general discussion list
Subject: [External] Re: [soci-users] Follow up for issue #396: Can't run SOCI 
tests under Windows using ODBC data source

Hello Paul,


2015-09-22 5:15 GMT+03:00 Baranov, Paul             BIS
<paul.bara...@fs.utc.com>:
> I did as it was suggested in the resolution for the issue #396 by 
> adding 
> -DSOCI_ODBC_TEST_MSSQL_CONNSTR="FILEDSN=C:/Users/Paul/Documents/soci_test.dsn"
> to cmake command line and doing a clean build but this did not fix the 
> original problem:
>

What makes you think that it not solve you problem?

cmake .. 
-DSOCI_ODBC_TEST_MSSQL_CONNSTR="FILEDSN=C:/Users/Paul/Documents/soci_test.dsn"

will set SOCI_ODBC_TEST_MSSQL_CONNSTR to specified DSN file. You'll see it if 
run cmake from cmd console.

Could you please run after build is completed

ctest -R mssql

And provide us with result?
Thank you.

> Please advise.
>
> test 1
>
>     Start 1: soci_odbc_test_access
>


>
> Paul
>
>
> ----------------------------------------------------------------------
> --------
>
> _______________________________________________
> soci-users mailing list
> soci-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/soci-users
>



--
Best Regards,
Sergei Nikulov

------------------------------------------------------------------------------
_______________________________________________
soci-users mailing list
soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users

------------------------------------------------------------------------------
Monitor Your Dynamic Infrastructure at Any Scale With Datadog!
Get real-time metrics from all of your servers, apps and tools
in one place.
SourceForge users - Click here to start your Free Trial of Datadog now!
http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140
_______________________________________________
soci-users mailing list
soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to