[vtk-developers] ODBC REQUIRED does not work as expected

David Doria daviddoria at gmail.com
Mon Jan 2 19:21:46 EST 2012


If I build with VTK_USE_ODBC=ON but do not have ODBC on the system, the
CMake variables appear as:

 ODBC_INCLUDE_DIRECTORIES         ODBC_INCLUDE_DIRECTORIES-NOTFOUND

 ODBC_LIBRARY                     ODBC_LIBRARY-NOTFOUND

but it lets me generate anyway. Of course then there are build errors. I
thought the FIND_PACKAGE( ODBC REQUIRED ) in IO/CMakeLists.txt was supposed
to stop this at configure time?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20120102/a87553e4/attachment.html>


More information about the vtk-developers mailing list