summaryrefslogtreecommitdiff
path: root/libfmt/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'libfmt/CMakeLists.txt')
-rw-r--r--libfmt/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/libfmt/CMakeLists.txt b/libfmt/CMakeLists.txt
new file mode 100644
index 0000000..b8db764
--- /dev/null
+++ b/libfmt/CMakeLists.txt
@@ -0,0 +1,14 @@
+# libfmt/CMakeLists.txt - Support for pico-fmt
+#
+# Copyright (C) 2025 Luke T. Shumaker <lukeshu@lukeshu.com>
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
+add_library(libfmt INTERFACE)
+target_include_directories(libfmt SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
+target_sources(libfmt INTERFACE
+ libmisc.c
+)
+target_link_libraries(libfmt INTERFACE
+ pico_fmt
+ libmisc
+)