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