[PATCH] D45328: llvm-exegesis: Fix unittests include dirs when llvm is a part of another project

Konstantin Zhuravlyov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 5 11:19:14 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL329325: llvm-exegesis: Fix unittests include dirs when llvm is a part of another project (authored by kzhuravl, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D45328?vs=141178&id=141186#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D45328

Files:
  llvm/trunk/unittests/tools/llvm-exegesis/CMakeLists.txt


Index: llvm/trunk/unittests/tools/llvm-exegesis/CMakeLists.txt
===================================================================
--- llvm/trunk/unittests/tools/llvm-exegesis/CMakeLists.txt
+++ llvm/trunk/unittests/tools/llvm-exegesis/CMakeLists.txt
@@ -1,7 +1,7 @@
 include_directories(
-  ${CMAKE_SOURCE_DIR}/lib/Target/X86
-  ${CMAKE_BINARY_DIR}/lib/Target/X86
-  ${CMAKE_SOURCE_DIR}/tools/llvm-exegesis/lib
+  ${LLVM_MAIN_SRC_DIR}/lib/Target/X86
+  ${LLVM_BINARY_DIR}/lib/Target/X86
+  ${LLVM_MAIN_SRC_DIR}/tools/llvm-exegesis/lib
   )
 
 set(LLVM_LINK_COMPONENTS


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45328.141186.patch
Type: text/x-patch
Size: 569 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180405/9f218974/attachment.bin>


More information about the llvm-commits mailing list