diff options
author | Brad King <brad.king@kitware.com> | 2019-11-26 13:55:26 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-11-26 13:56:32 (GMT) |
commit | 0cb043390b3a78d80e5cf4dbbb47df1ca8c0d993 (patch) | |
tree | 2b8b7f4089a33e5e2dd7d5174fe49b1f2e16040f /Modules | |
parent | 557ceacf820a935bc5eaeb8637de315730dc0db6 (diff) | |
parent | cb8042b0ab1dba815423c6a236412b2adcb2b880 (diff) | |
download | CMake-0cb043390b3a78d80e5cf4dbbb47df1ca8c0d993.zip CMake-0cb043390b3a78d80e5cf4dbbb47df1ca8c0d993.tar.gz CMake-0cb043390b3a78d80e5cf4dbbb47df1ca8c0d993.tar.bz2 |
Merge topic 'FindODBC-mingw' into release-3.16
cb8042b0ab FindODBC: Add library name for MinGW toolchains
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4076
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindODBC.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindODBC.cmake b/Modules/FindODBC.cmake index 29d7af9..3f710db 100644 --- a/Modules/FindODBC.cmake +++ b/Modules/FindODBC.cmake @@ -92,6 +92,8 @@ if(WIN32) # List names of ODBC libraries on Windows if(NOT MINGW) set(ODBC_LIBRARY odbc32.lib) + else() + set(ODBC_LIBRARY libodbc32.a) endif() set(_odbc_lib_names odbc32;) |