diff options
author | Brad King <brad.king@kitware.com> | 2017-08-03 16:03:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-03 16:03:59 (GMT) |
commit | 68d67c827fceabc22bb0be76f084391659dc9a28 (patch) | |
tree | 70f683b4e8cb50f0df7666af94595d7d450e00f5 /Modules/Platform/Windows-PGI-C.cmake | |
parent | f15cfd891d1e01247ed285320ae32b6c3182ac8f (diff) | |
download | CMake-68d67c827fceabc22bb0be76f084391659dc9a28.zip CMake-68d67c827fceabc22bb0be76f084391659dc9a28.tar.gz CMake-68d67c827fceabc22bb0be76f084391659dc9a28.tar.bz2 |
Android: Fix support for CMAKE_SYSROOT without CMAKE_SYSROOT_COMPILE
If `CMAKE_SYSROOT` is set by the user (e.g. via the toolchain file) then
we do not set `CMAKE_SYSROOT_COMPILE` to our default. Fix our
references to the sysroot's `/usr/include` directory to use
`CMAKE_SYSROOT_COMPILE` only if it is set and else `CMAKE_SYSROOT`.
Fixes: #17096
Diffstat (limited to 'Modules/Platform/Windows-PGI-C.cmake')
0 files changed, 0 insertions, 0 deletions