diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index de4cf7a69..9b39b3fa9 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -30,6 +30,7 @@ else() add_subdirectory(embd-input) add_subdirectory(llama-bench) add_subdirectory(beam-search) + add_subdirectory(cmap-examples) if (LLAMA_METAL) add_subdirectory(metal) endif() diff --git a/examples/cmap-example/cmap-example.cpp b/examples/cmap-example/cmap-example.cpp index 78b633025..e3af5073f 100644 --- a/examples/cmap-example/cmap-example.cpp +++ b/examples/cmap-example/cmap-example.cpp @@ -1,6 +1,8 @@ // example of a C/C++ equivalent data structure to the python dict // there are two: std::map automatically sorts on key; std::unordered_map doesn't +#include "llama.h" + #include #include