CMakeLists.txt 247 Bytes
Newer Older
xuxzh1's avatar
init  
xuxzh1 committed
1
set(TARGET llama-gbnf-validator)
mashun1's avatar
v1  
mashun1 committed
2
3
add_executable(${TARGET} gbnf-validator.cpp)
install(TARGETS ${TARGET} RUNTIME)
xuxzh1's avatar
init  
xuxzh1 committed
4
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
mashun1's avatar
v1  
mashun1 committed
5
target_compile_features(${TARGET} PRIVATE cxx_std_11)