diff --git a/utils/unittest/CMakeLists.txt b/utils/unittest/CMakeLists.txt index fd1a048d832..569af88d670 100644 --- a/utils/unittest/CMakeLists.txt +++ b/utils/unittest/CMakeLists.txt @@ -42,6 +42,4 @@ add_llvm_library(gtest googletest/src/gtest-all.cc ) -add_llvm_library(gtest_main - UnitTestMain/TestMain.cpp - ) +add_subdirectory(UnitTestMain) diff --git a/utils/unittest/UnitTestMain/CMakeLists.txt b/utils/unittest/UnitTestMain/CMakeLists.txt new file mode 100644 index 00000000000..e217d18198f --- /dev/null +++ b/utils/unittest/UnitTestMain/CMakeLists.txt @@ -0,0 +1,3 @@ +add_llvm_library(gtest_main + TestMain.cpp + )