diff options
author | Cebtenzzre <cebtenzzre@gmail.com> | 2023-09-15 16:59:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 16:59:49 -0400 |
commit | e6616cf0db2b63189fc34d0076f654af9adecdf8 (patch) | |
tree | 5a5d518c2e576972ee097297ed1551b66880914b /examples/simple | |
parent | 3aefaab9e59335ebb07d5205dbc8633efd680e58 (diff) |
examples : add compiler version and target to build info (#2998)
Diffstat (limited to 'examples/simple')
-rw-r--r-- | examples/simple/CMakeLists.txt | 3 | ||||
-rw-r--r-- | examples/simple/simple.cpp | 2 |
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" |