CMAKE_SYSROOT_COMPILE.rst 343 B

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