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:33 (GMT) |
commit | 5c49f82a2d366edfe4cd86b809859fc0e4a3e7b9 (patch) | |
tree | 86a0cc1f0ef7987c6179491eebb8058492febcf1 | |
parent | 86356f140f4d4ee542a10f75d3bcf4cd590de900 (diff) | |
parent | cb8042b0ab1dba815423c6a236412b2adcb2b880 (diff) | |
download | CMake-5c49f82a2d366edfe4cd86b809859fc0e4a3e7b9.zip CMake-5c49f82a2d366edfe4cd86b809859fc0e4a3e7b9.tar.gz CMake-5c49f82a2d366edfe4cd86b809859fc0e4a3e7b9.tar.bz2 |
Merge topic 'FindODBC-mingw'
cb8042b0ab FindODBC: Add library name for MinGW toolchains
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4076
-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;) |