set( NANODBC_FILES nanodbc.cpp )
add_definitions( "-DNANODBC_USE_CPP11" )
include_directories( ${ODBC_INCLUDE_DIRS} )
add_library( nanodbc STATIC ${NANODBC_FILES} )
set_target_properties( nanodbc PROPERTIES OUTPUT_NAME "nanodbc" )
target_link_libraries( nanodbc ${ODBC_SYSLIBS} )
target_link_libraries( nanodbc ${ODBC_LIBRARIES} )
