diff --git a/CMakeLists.txt b/CMakeLists.txt index da9b42026..585a34fa5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -250,7 +250,7 @@ if (LLAMA_CUBLAS) message(STATUS "cuBLAS found") enable_language(CUDA) - + set(GGML_HEADERS_CUDA ggml-cuda.h) set(GGML_SOURCES_CUDA ggml-cuda.cu) diff --git a/examples/main-cmake-pkg/README.md b/examples/main-cmake-pkg/README.md index aa914448b..6d665f28f 100644 --- a/examples/main-cmake-pkg/README.md +++ b/examples/main-cmake-pkg/README.md @@ -2,7 +2,7 @@ This program builds the [main](../main) application using a relocatable CMake package. It serves as an example of using the `find_package()` CMake command to conveniently include [llama.cpp](https://github.com/ggerganov/llama.cpp) in projects which live outside of the source tree. -## Building +## Building Because this example is "outside of the source tree", it is important to first build/install llama.cpp using CMake. An example is provided here, but please see the [llama.cpp build instructions](../..) for more detailed build instructions.