AVX-512: Added intrinsic for cvtph2ps.
[oota-llvm.git] / utils / unittest / CMakeLists.txt
index 8bdfee15c198e80bb6dbb901855004a4a8f118f9..569af88d670be6229d6b349796d69b78bee00aee 100644 (file)
@@ -14,6 +14,7 @@
 # Where gtest's .h files can be found.
 include_directories(
   googletest/include
+  googletest
   )
 
 if(WIN32)
@@ -38,15 +39,7 @@ if(MSVC AND MSVC_VERSION EQUAL 1700)
 endif ()
 
 add_llvm_library(gtest
-  googletest/gtest.cc
-  googletest/gtest-death-test.cc
-  googletest/gtest-filepath.cc
-  googletest/gtest-port.cc
-  googletest/gtest-printers.cc
-  googletest/gtest-test-part.cc
-  googletest/gtest-typed-test.cc
+  googletest/src/gtest-all.cc
   )
 
-add_llvm_library(gtest_main
-  UnitTestMain/TestMain.cpp
-  )
+add_subdirectory(UnitTestMain)