mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2025-01-11 03:01:45 +00:00
15 lines
374 B
CMake
15 lines
374 B
CMake
set(TARGET mulmat-tune)
|
|
add_executable(${TARGET} mulmat-tune.cpp)
|
|
|
|
if (XCODE OR MSVC)
|
|
set(MULMAT_TUNE_LIBS ggml)
|
|
else()
|
|
set(MULMAT_TUNE_LIBS ggml m)
|
|
endif()
|
|
|
|
target_link_libraries(${TARGET} PRIVATE ${MULMAT_TUNE_LIBS} ${CMAKE_THREAD_LIBS_INIT})
|
|
target_compile_features(${TARGET} PRIVATE cxx_std_11)
|
|
if(TARGET BUILD_INFO)
|
|
add_dependencies(${TARGET} BUILD_INFO)
|
|
endif()
|