mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
When no `CMAKE_TOOLCHAIN_FILE` is explicitly specified while creating a new build tree, check for an environment variable of the same name.
5 lines
196 B
Plaintext
5 lines
196 B
Plaintext
-- ENV{CMAKE_TOOLCHAIN_FILE}='EnvToolchain-toolchain.cmake'
|
|
-- CMAKE_TOOLCHAIN_FILE='[^
|
|
]*/Tests/RunCMake/CommandLine/EnvToolchainRelative-build/EnvToolchain-toolchain.cmake'
|
|
-- ENV_TOOLCHAIN='1'
|