mirror of
https://github.com/reactos/CMake.git
synced 2025-02-18 18:49:34 +00:00
FindODBC: Do not assume odbc32.lib for MinGW
For MinGW, do not look for odbc32.lib but allow search for libodbc32.a. Fixes: #18539
This commit is contained in:
parent
48bc74710d
commit
4e4551f9f3
@ -90,7 +90,9 @@ set(_odbc_required_libs_names)
|
||||
### Try Windows Kits ##########################################################
|
||||
if(WIN32)
|
||||
# List names of ODBC libraries on Windows
|
||||
set(ODBC_LIBRARY odbc32.lib)
|
||||
if(NOT MINGW)
|
||||
set(ODBC_LIBRARY odbc32.lib)
|
||||
endif()
|
||||
set(_odbc_lib_names odbc32;)
|
||||
|
||||
# List additional libraries required to use ODBC library
|
||||
|
Loading…
x
Reference in New Issue
Block a user