diff options
author | Cristian Adam <cristian.adam@gmail.com> | 2019-11-22 13:58:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-11-25 18:55:51 (GMT) |
commit | cb8042b0ab1dba815423c6a236412b2adcb2b880 (patch) | |
tree | cd4aeff65979ada7ec2281d6942ad5b24e45eba4 /Modules | |
parent | 602f2118b083f998cd7523efcdd5f39689eb15ac (diff) | |
download | CMake-cb8042b0ab1dba815423c6a236412b2adcb2b880.zip CMake-cb8042b0ab1dba815423c6a236412b2adcb2b880.tar.gz CMake-cb8042b0ab1dba815423c6a236412b2adcb2b880.tar.bz2 |
FindODBC: Add library name for MinGW toolchains
Fixes: #20018
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;) |