Skip to content

Commit 3587125

Browse files
committedFeb 16, 2024
[Docs] mention CMake version in tips-and-tricks.rst
1 parent f626f02 commit 3587125

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed
 

‎doxygen/sphinx/source/usage/tips-and-tricks.rst

+8-3
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,14 @@ To delete all cached problems, use:
196196
alpaqa cache clean
197197
198198
For the compilation of C code generated by CasADi, |pylib_name| relies on
199-
`CMake <https://cmake.org/cmake/help/latest>`_. If you want to change the
200-
compiler or the options used, you can clean |pylib_name|'s CMake build directory
201-
and then set the appropriate environment variables, for example:
199+
`CMake <https://cmake.org/cmake/help/latest>`_. Version 3.17 or later is
200+
required: by default, a recent version of CMake will be installed into your
201+
Python virtual environment when you install |pylib_name|. To use a different
202+
version of CMake, you can set the ``ALPAQA_CMAKE_PROGRAM`` environment variable.
203+
204+
If you want to change the compiler or the options used, you can clean
205+
|pylib_name|'s CMake build directory and then set the appropriate environment
206+
variables, for example:
202207

203208
.. code-block:: bash
204209

0 commit comments

Comments
 (0)