[CMake] Adding some missing CMake includes. NFC.
authorChris Bieneman <beanz@apple.com>
Thu, 28 Apr 2016 18:22:01 +0000 (18:22 +0000)
committerChris Bieneman <beanz@apple.com>
Thu, 28 Apr 2016 18:22:01 +0000 (18:22 +0000)
This happens to be working now because the includes exist in another CMake file that is included before this one. That will change with upcoming refactoring.

llvm-svn: 267912

compiler-rt/cmake/Modules/CompilerRTUtils.cmake

index da5a2a1..4d16ca7 100644 (file)
@@ -1,3 +1,6 @@
+include(CMakePushCheckState)
+include(CheckSymbolExists)
+
 # Because compiler-rt spends a lot of time setting up custom compile flags,
 # define a handy helper function for it. The compile flags setting in CMake
 # has serious issues that make its syntax challenging at best.