Use LLVM_INCLUDE_DIRS instead of LLVM_INCLUDE_DIR to support local builds of LLVM where source and binaries are separate. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a8c08d6..8bf69a8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,7 @@ if(UMR_NO_LLVM) set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DUMR_NO_LLVM") else() find_package(LLVM REQUIRED COMPONENTS all) -include_directories(${LLVM_INCLUDE_DIR}) +include_directories(${LLVM_INCLUDE_DIRS}) if(LLVM_CMAKE_DIR) list(APPEND CMAKE_MODULE_PATH ${LLVM_CMAKE_DIR}) -- 2.17.1 _______________________________________________ amd-gfx mailing list amd-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/amd-gfx