From e9fa035ea255ee24e3b3ca0dcd00107dc0592378 Mon Sep 17 00:00:00 2001 From: Aleksander Us Date: Mon, 21 Feb 2022 14:57:58 +0000 Subject: [PATCH] Add interface includes for in-tree mode Unify handling of intrinsics interface includes in both modes. --- GenXIntrinsics/lib/GenXIntrinsics/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/GenXIntrinsics/lib/GenXIntrinsics/CMakeLists.txt b/GenXIntrinsics/lib/GenXIntrinsics/CMakeLists.txt index a7b33112..b89d1de2 100755 --- a/GenXIntrinsics/lib/GenXIntrinsics/CMakeLists.txt +++ b/GenXIntrinsics/lib/GenXIntrinsics/CMakeLists.txt @@ -32,12 +32,6 @@ if(BUILD_EXTERNAL) vc_get_llvm_targets(LLVM_LIBS ${LLVM_COMPONENTS}) target_link_libraries(LLVMGenXIntrinsics ${LLVM_LIBS}) - - target_include_directories(LLVMGenXIntrinsics PUBLIC - $ - $ - $ - ) else() # when we are building in LLVM infra, we need to conform set(LLVM_LINK_COMPONENTS @@ -54,3 +48,9 @@ else() intrinsics_gen ) endif() + +target_include_directories(LLVMGenXIntrinsics PUBLIC + $ + $ + $ + )