[BUILD] Enable current-dir inclusion (#753)
This change enables `CMAKE_INCLUDE_CURRENT_DIR` when building Triton.
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user