From 863578a7fa0d9ec510f47ab2b551dc5c482028e8 Mon Sep 17 00:00:00 2001 From: Ian Bearman Date: Sun, 9 Oct 2022 11:09:49 -0700 Subject: [PATCH] [BUILD] Enable current-dir inclusion (#753) This change enables `CMAKE_INCLUDE_CURRENT_DIR` when building Triton. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a117e63e2..234a10f9a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,8 @@ include(ExternalProject) set(CMAKE_CXX_STANDARD 17) +set(CMAKE_INCLUDE_CURRENT_DIR ON) + if(NOT TRITON_LLVM_BUILD_DIR) set(TRITON_LLVM_BUILD_DIR ${CMAKE_BINARY_DIR}) endif()