Commit cb8042b0 authored by Cristian Adam's avatar Cristian Adam 💬 Committed by Brad King
Browse files

FindODBC: Add library name for MinGW toolchains

Fixes: #20018
parent 602f2118
Pipeline #152535 passed with stage
......@@ -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;)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment