[BUILD] Enable current-dir inclusion (#753)

This change enables `CMAKE_INCLUDE_CURRENT_DIR` when building Triton.
This commit is contained in:
Ian Bearman
2022-10-09 11:09:49 -07:00
committed by GitHub
parent 448d14a598
commit 863578a7fa

View File

@@ -3,6 +3,8 @@ include(ExternalProject)
set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD 17)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
if(NOT TRITON_LLVM_BUILD_DIR) if(NOT TRITON_LLVM_BUILD_DIR)
set(TRITON_LLVM_BUILD_DIR ${CMAKE_BINARY_DIR}) set(TRITON_LLVM_BUILD_DIR ${CMAKE_BINARY_DIR})
endif() endif()