summaryrefslogtreecommitdiff
path: root/examples/quantize/CMakeLists.txt
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/quantize/CMakeLists.txt
parent3aefaab9e59335ebb07d5205dbc8633efd680e58 (diff)
examples : add compiler version and target to build info (#2998)
Diffstat (limited to 'examples/quantize/CMakeLists.txt')
-rw-r--r--examples/quantize/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/quantize/CMakeLists.txt b/examples/quantize/CMakeLists.txt
index 47d0be72..4a8eed54 100644
--- a/examples/quantize/CMakeLists.txt
+++ b/examples/quantize/CMakeLists.txt
@@ -2,6 +2,7 @@ set(TARGET quantize)
add_executable(${TARGET} quantize.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE llama ${CMAKE_THREAD_LIBS_INIT})
+target_include_directories(${TARGET} PRIVATE ../../common)
target_compile_features(${TARGET} PRIVATE cxx_std_11)
if(TARGET BUILD_INFO)
add_dependencies(${TARGET} BUILD_INFO)