summaryrefslogtreecommitdiff
path: root/examples/perplexity/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/perplexity/CMakeLists.txt')
-rw-r--r--examples/perplexity/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/perplexity/CMakeLists.txt b/examples/perplexity/CMakeLists.txt
index 5836df8b..61b17b82 100644
--- a/examples/perplexity/CMakeLists.txt
+++ b/examples/perplexity/CMakeLists.txt
@@ -2,3 +2,6 @@ set(TARGET perplexity)
add_executable(${TARGET} perplexity.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()