summaryrefslogtreecommitdiffstats
path: root/Source/cmUtilitySourceCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-05 14:21:40 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-05 14:23:52 (GMT)
commit66f49d1f9ae46d928df0509e96215cdd28db4dcb (patch)
tree382d14c5fb9bb129004018bd8dcb557d2c4f2899 /Source/cmUtilitySourceCommand.h
parent39534c58c5d3b525c53f4be572e1b72b53eac220 (diff)
downloadCMake-66f49d1f9ae46d928df0509e96215cdd28db4dcb.zip
CMake-66f49d1f9ae46d928df0509e96215cdd28db4dcb.tar.gz
CMake-66f49d1f9ae46d928df0509e96215cdd28db4dcb.tar.bz2
Android: Add clang --target= flag to compiler predefines command
When we set `CMAKE_<LANG>_COMPILER_TARGET` to the Android target architecture, add it to `CMAKE_<LANG>_COMPILER_PREDEFINES_COMMAND` also. This is needed to make moc predefines aware of `__ANDROID__`. Fixes: #18425
Diffstat (limited to 'Source/cmUtilitySourceCommand.h')
0 files changed, 0 insertions, 0 deletions