[Doc] Add note about how to fix Sundials CMakeLists.txt

The Sundials CMakeLists.txt was not correctly updated for the 2.5.0 release, and
builds a version of Sundials that still claims to be 2.4.0. This leads to
compilation errors since some Sundials functions have changed signatures between
2.4 and 2.5, and Canteran needs to distinguish between the two.

Cherry-pick of trunk r2887.
This commit is contained in:
Ray Speth 2014-04-29 19:02:58 +00:00
parent e0f9888601
commit ff97133592

View file

@ -486,6 +486,20 @@ Optional Programs
configure --with-cflags=-fPIC
* `Windows Installer XML (WiX) toolset <http://wix.sourceforge.net/>`_
.. note:: If you are compiling Sundials 2.5.0 on Windows using CMake, you need
to edit the ``CMakeLists.txt`` file first and change the lines::
SET(PACKAGE_STRING "SUNDIALS 2.4.0")
SET(PACKAGE_VERSION "2.4.0")
to read::
SET(PACKAGE_STRING "SUNDIALS 2.5.0")
SET(PACKAGE_VERSION "2.5.0")
instead, so that Cantera can correctly identify the version of
Sundials.
* Required to build MSI installers on Windows.
* Known to work with version 3.5.