cmake : install targets (#2256)

fix #2252
This commit is contained in:
wzy 2023-07-19 15:01:11 +08:00 committed by GitHub
parent d01bccde9f
commit b1f4290953
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 42 additions and 0 deletions

View file

@ -1,3 +1,4 @@
set(TEST_TARGET metal)
add_executable(${TEST_TARGET} metal.cpp)
install(TARGETS ${TARGET} RUNTIME)
target_link_libraries(${TEST_TARGET} PRIVATE ggml)