summaryrefslogtreecommitdiff
path: root/examples/sycl/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sycl/CMakeLists.txt')
-rw-r--r--examples/sycl/CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/sycl/CMakeLists.txt b/examples/sycl/CMakeLists.txt
new file mode 100644
index 00000000..69cf8932
--- /dev/null
+++ b/examples/sycl/CMakeLists.txt
@@ -0,0 +1,9 @@
+# MIT license
+# Copyright (C) 2024 Intel Corporation
+# SPDX-License-Identifier: MIT
+
+set(TARGET ls-sycl-device)
+add_executable(${TARGET} ls-sycl-device.cpp)
+install(TARGETS ${TARGET} RUNTIME)
+target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
+target_compile_features(${TARGET} PRIVATE cxx_std_17)