aboutsummaryrefslogtreecommitdiff
path: root/examples/embedding/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/embedding/CMakeLists.txt')
-rw-r--r--examples/embedding/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/embedding/CMakeLists.txt b/examples/embedding/CMakeLists.txt
index 88c425d..db73b6b 100644
--- a/examples/embedding/CMakeLists.txt
+++ b/examples/embedding/CMakeLists.txt
@@ -2,3 +2,6 @@ set(TARGET embedding)
add_executable(${TARGET} embedding.cpp)
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)
+if(TARGET BUILD_INFO)
+ add_dependencies(${TARGET} BUILD_INFO)
+endif()