[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.
This commit is contained in:
parent
b4b97e622a
commit
115679ac17
1 changed files with 15 additions and 0 deletions
|
|
@ -491,6 +491,21 @@ Optional Programs
|
|||
|
||||
configure --with-cflags=-fPIC
|
||||
|
||||
.. 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.
|
||||
|
||||
|
||||
* `Windows Installer XML (WiX) toolset <http://wixtoolset.org/>`_
|
||||
|
||||
* Required to build MSI installers on Windows.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue