summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorinspectredc <inspectredc@gmail.com>2025-03-27 12:14:38 +0000
committerLywx <kiritodev01@gmail.com>2025-03-28 16:33:39 -0600
commit269596a9c30b8a99356c9431e65361e08bbc5e46 (patch)
tree2a1192f489fd061cc7779c079abf77b399bcd03a
parent28bda618b8469cf00cfcb1d0a4629a5cdffbd06a (diff)
test linux upload
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7ee76816..0b049ca2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -614,6 +614,10 @@ add_custom_target(
COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/starship.o2r" "${CMAKE_BINARY_DIR}/starship.o2r"
)
+if("${CMAKE_SYSTEM_NAME}" STREQUAL "Linux")
+ install(FILES "${CMAKE_BINARY_DIR}/starship.o2r" DESTINATION . COMPONENT ${PROJECT_NAME})
+endif()
+
if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
add_custom_target(CreateOSXIcons
COMMAND mkdir -p ${CMAKE_BINARY_DIR}/macosx/starship.iconset