examples : fix underscore in beam-search + .gitignore (close #2900)
This commit is contained in:
parent
0d1c706181
commit
c90d135eb4
5 changed files with 8 additions and 5 deletions
8
examples/beam-search/CMakeLists.txt
Normal file
8
examples/beam-search/CMakeLists.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
set(TARGET beam-search)
|
||||
add_executable(${TARGET} beam-search.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()
|
Loading…
Add table
Add a link
Reference in a new issue