#272 CMake fails to correctly find iodbc on OS X

open
nobody
5
2012-09-14
2009-06-21
Richard Offer
No

The contributed FindODBC.cmake file incorrectly locates the iODBC files - which are default on OS X

What happens is that it appears to find the unixODBC config script and then uses the unixODBC flags which fails.

-- Found unixODBC: odbc_config in /usr/bin/iodbc-config

The non-CMake build tests for the presense of libraries rather than programs - does that make more sense ?

Discussion