[PATCH] D73466: Make unittests include path relative

Sebastian Neubauer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 21 01:26:36 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGe5eeb8465f29: Make unittests include path relative (authored by sebastian-ne).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D73466/new/

https://reviews.llvm.org/D73466

Files:
  llvm/unittests/TableGen/CMakeLists.txt


Index: llvm/unittests/TableGen/CMakeLists.txt
===================================================================
--- llvm/unittests/TableGen/CMakeLists.txt
+++ llvm/unittests/TableGen/CMakeLists.txt
@@ -13,5 +13,5 @@
   CodeExpanderTest.cpp
   AutomataTest.cpp
   )
-include_directories(${CMAKE_SOURCE_DIR}/utils/TableGen)
+include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../utils/TableGen)
 target_link_libraries(TableGenTests PRIVATE LLVMTableGenGlobalISel LLVMTableGen)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73466.245804.patch
Type: text/x-patch
Size: 477 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200221/16446477/attachment.bin>


More information about the llvm-commits mailing list