File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -316,14 +316,14 @@ This is done to avoid potential name clashes with users own presets.
316
316
CONAN_RUNTIME_LIB_DIRS
317
317
^^^^^^^^^^^^^^^^^^^^^^
318
318
319
- This variable defines the directories containing the runtime libraries necessary to
320
- run the linked executables in the project of all host dependencies. These libraries are essential
321
- to ensure that the project compiles and runs correctly, providing the necessary dependencies
322
- during runtime. This is most useful when relying on CMake functionality to collect runtime dependencies,
323
- for example to create a relocatable bundle.
319
+ This variable contains a list of directories that contain runtime libraries (like DLLs)
320
+ from all dependencies in the host context. This is intended to be used when relying on
321
+ CMake functionality to collect shared libraries to create a relocatable bundle, as
322
+ per the example below.
324
323
325
324
326
- Just add the ``CONAN_RUNTIME_LIB_DIRS `` variable in our ``CMakeLists.txt `` file.
325
+ Just pass the ``CONAN_RUNTIME_LIB_DIRS `` variable to the ``DIRECTORIES `` argument
326
+ in the ``install(RUNTIME_DEPENDENCY_SET ...)` `` invocation.
327
327
328
328
.. code :: cmake
329
329
@@ -681,4 +681,4 @@ CMakeToolchain is affected by these ``[conf]`` variables:
681
681
* ``fortran ``: will set ``CMAKE_Fortran_COMPILER `` in *conan_toolchain.cmake *.
682
682
* ``asm ``: will set ``CMAKE_ASM_COMPILER `` in *conan_toolchain.cmake *.
683
683
* ``hip ``: will set ``CMAKE_HIP_COMPILER `` in *conan_toolchain.cmake *.
684
- * ``ispc ``: will set ``CMAKE_ISPC_COMPILER `` in *conan_toolchain.cmake *.
684
+ * ``ispc ``: will set ``CMAKE_ISPC_COMPILER `` in *conan_toolchain.cmake *.
You can’t perform that action at this time.
0 commit comments