summaryrefslogtreecommitdiff
path: root/third_party/CMakeLists.txt
blob: b55797db770ea3b5276fd9faa1cfa09a2a3dc932 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if(BUILD_LLVM_DWARF)
  add_subdirectory(llvm-project)
endif()

include_directories(
  googletest/googletest
  googletest/googletest/include
)

if(BUILD_TESTS)
  add_library(gtest STATIC googletest/googletest/src/gtest-all.cc)
  add_library(gtest_main STATIC googletest/googletest/src/gtest_main.cc)
endif()