summaryrefslogtreecommitdiff
path: root/examples/simple
diff options
context:
space:
mode:
authorCebtenzzre <cebtenzzre@gmail.com>2023-09-15 16:59:49 -0400
committerGitHub <noreply@github.com>2023-09-15 16:59:49 -0400
commite6616cf0db2b63189fc34d0076f654af9adecdf8 (patch)
tree5a5d518c2e576972ee097297ed1551b66880914b /examples/simple
parent3aefaab9e59335ebb07d5205dbc8633efd680e58 (diff)
examples : add compiler version and target to build info (#2998)
Diffstat (limited to 'examples/simple')
-rw-r--r--examples/simple/CMakeLists.txt3
-rw-r--r--examples/simple/simple.cpp2
2 files changed, 0 insertions, 5 deletions
diff --git a/examples/simple/CMakeLists.txt b/examples/simple/CMakeLists.txt
index 0ac9cb03..7da5ff6f 100644
--- a/examples/simple/CMakeLists.txt
+++ b/examples/simple/CMakeLists.txt
@@ -3,6 +3,3 @@ add_executable(${TARGET} simple.cpp)
install(TARGETS ${TARGET} RUNTIME)
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()
diff --git a/examples/simple/simple.cpp b/examples/simple/simple.cpp
index ba5de0cc..440d22ec 100644
--- a/examples/simple/simple.cpp
+++ b/examples/simple/simple.cpp
@@ -1,5 +1,3 @@
-#include "build-info.h"
-
#include "common.h"
#include "llama.h"