summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler
diff options
context:
space:
mode:
authorCristian Adam <cristian.adam@gmail.com>2019-11-03 20:34:39 (GMT)
committerCristian Adam <cristian.adam@gmail.com>2019-11-03 20:34:39 (GMT)
commite331367a898c6e0afa386c52fc7bd4d84d75ec29 (patch)
tree3ebbba93f49fccd2c7a6d126965e505ff430bcdd /Modules/Compiler
parent91c26b3d387ffd4948ecde38ab2c5f894b7dbe8c (diff)
downloadCMake-e331367a898c6e0afa386c52fc7bd4d84d75ec29.zip
CMake-e331367a898c6e0afa386c52fc7bd4d84d75ec29.tar.gz
CMake-e331367a898c6e0afa386c52fc7bd4d84d75ec29.tar.bz2
PCH: Add support for OBJC/OBJCXX languages
Diffstat (limited to 'Modules/Compiler')
-rw-r--r--Modules/Compiler/GNU.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/GNU.cmake b/Modules/Compiler/GNU.cmake
index e0ff174..6960571 100644
--- a/Modules/Compiler/GNU.cmake
+++ b/Modules/Compiler/GNU.cmake
@@ -13,6 +13,8 @@ include(Internal/CMakeCheckCompilerFlag)
set(__pch_header_C "c-header")
set(__pch_header_CXX "c++-header")
+set(__pch_header_OBJC "objective-c-header")
+set(__pch_header_OBJCXX "objective-c++-header")
macro(__compiler_gnu lang)
# Feature flags.