cmake : cont

ggml-ci
This commit is contained in:
Georgi Gerganov 2025-01-12 15:11:52 +02:00
parent e159e7751c
commit 34889bf810
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
2 changed files with 5 additions and 2 deletions

View file

@ -3,4 +3,7 @@ add_executable(${TARGET} run.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_17)
target_compile_options(${TARGET} PRIVATE -Wno-shadow) # TMP
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
target_compile_options(${TARGET} PRIVATE -Wno-shadow) # TMP
endif()