CMAKE_SYSROOT_LINK.rst 322 B

123456789
  1. CMAKE_SYSROOT_LINK
  2. ------------------
  3. Path to pass to the compiler in the ``--sysroot`` flag when linking. This is
  4. the same as :variable:`CMAKE_SYSROOT` but is used only for linking and not
  5. compiling sources.
  6. This variable may only be set in a toolchain file specified by
  7. the :variable:`CMAKE_TOOLCHAIN_FILE` variable.