mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	add/fix gbnf-validator subfolder to cmake
This commit is contained in:
		| @@ -20,6 +20,7 @@ else() | |||||||
|     add_subdirectory(embedding) |     add_subdirectory(embedding) | ||||||
|     add_subdirectory(eval-callback) |     add_subdirectory(eval-callback) | ||||||
|     add_subdirectory(finetune) |     add_subdirectory(finetune) | ||||||
|  |     add_subdirectory(gbnf-validator) | ||||||
|     add_subdirectory(gritlm) |     add_subdirectory(gritlm) | ||||||
|     add_subdirectory(gguf-split) |     add_subdirectory(gguf-split) | ||||||
|     add_subdirectory(infill) |     add_subdirectory(infill) | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| set(TARGET llama-gbnf-validator) | set(TARGET llama-gbnf-validator) | ||||||
| add_executable(${TARGET} gbnf-validator.cpp) | add_executable(${TARGET} gbnf-validator.cpp) | ||||||
| install(TARGETS ${TARGET} RUNTIME) | install(TARGETS ${TARGET} RUNTIME) | ||||||
| target_link_libraries(${TARGET} PRIVATE common grammar-parser llama ${CMAKE_THREAD_LIBS_INIT}) | target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT}) | ||||||
| target_compile_features(${TARGET} PRIVATE cxx_std_11) | target_compile_features(${TARGET} PRIVATE cxx_std_11) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Olivier Chafik
					Olivier Chafik