summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/Windows-PGI-C.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-08-03 16:03:59 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-03 16:03:59 (GMT)
commit68d67c827fceabc22bb0be76f084391659dc9a28 (patch)
tree70f683b4e8cb50f0df7666af94595d7d450e00f5 /Modules/Platform/Windows-PGI-C.cmake
parentf15cfd891d1e01247ed285320ae32b6c3182ac8f (diff)
downloadCMake-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