summaryrefslogtreecommitdiff
path: root/cmd/srv9p/CMakeLists.txt
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-25 21:55:07 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2024-10-25 21:55:07 -0600
commit7c03983529f6502206cd40692c794b7c6605d9bf (patch)
treeecac9afa4928b6a1c040c97662371c01fde046c3 /cmd/srv9p/CMakeLists.txt
parent9f4494685a29714c57cc11d62dead71f7004e061 (diff)
Enable pico-sdk for host binaries
Diffstat (limited to 'cmd/srv9p/CMakeLists.txt')
-rw-r--r--cmd/srv9p/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/srv9p/CMakeLists.txt b/cmd/srv9p/CMakeLists.txt
index 52e5171..ccad845 100644
--- a/cmd/srv9p/CMakeLists.txt
+++ b/cmd/srv9p/CMakeLists.txt
@@ -3,6 +3,8 @@
# Copyright (C) 2024 Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-Licence-Identifier: AGPL-3.0-or-later
+if (PICO_PLATFORM STREQUAL "host")
+
set(static_srcs
static/README.md
static/Documentation/x
@@ -50,3 +52,5 @@ add_custom_command(
)
target_sources(srv9p PRIVATE ${static_objs} static.h)
+
+endif()