From 83dd88ad0674e4cfbc1bbbfaf1d8f10b6fb27a6d Mon Sep 17 00:00:00 2001 From: l3utterfly Date: Tue, 23 Jan 2024 22:51:49 +0900 Subject: [PATCH] updated cmake to find clblast in sibling directory --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 492f2baa2bcfd..a3ab09bfd7609 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -339,10 +339,10 @@ endif() if (LLAMA_CLBLAST) # build CLBlast from source # Add CLBlast directory - add_subdirectory(CLBlast) + add_subdirectory(../CLBlast ${CMAKE_CURRENT_BINARY_DIR}/clblast) # Include directories for CLBlast - include_directories(CLBlast/include) + include_directories(../CLBlast/include) message(STATUS "CLBlast source found")