Skip to content

Commit 13380f5

Browse files
authored
Add CMAKE_ARGS
1 parent 0c28f90 commit 13380f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/maintainer/knowledge_base.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ Some optional, but useful CMake options:
4545
- ``-DCMAKE_INSTALL_LIBDIR=lib`` Libraries will land in $PREFIX/lib, sometimes projects install
4646
into lib64 or similar but on conda-forge we keep shared libraries in simply lib.
4747
- ``-DBUILD_SHARED_LIBS=ON`` Instruct CMake to build shared libraries instead of static ones.
48+
- ``${CMAKE_ARGS}`` Add variables defined by conda-forge internally. This is required to enable various conda-forge enhancements, like `CUDA builds <https://conda-forge.org/docs/maintainer/knowledge_base.html#cuda-builds>`__.
4849

4950
Here are some basic commands for you to get started. These are dependent on your source
5051
code layout and aren't intended to be used "as is".

0 commit comments

Comments
 (0)