summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-04-15 12:35:36 +0100
committerSadie Powell <sadie@witchery.services>2024-04-15 12:41:56 +0100
commit3e5d3c5bdc2f52982529bd6cbf8e1edf914ec163 (patch)
treea82033e9a37869ced3b48c73ccdd6861b4db18e8 /src
parent62deedfa755d9c7e20be59e513ce27e087419f3b (diff)
Avoid packaging unnecessary .lib files on Windows.
[skip alpine ci] [skip ubuntu ci]
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/tools/CMakeLists.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 9ca613eda..dcad8c83c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -95,4 +95,5 @@ endif()
# Set Anope to be installed to the bin directory
install(TARGETS ${PROGRAM_NAME}
DESTINATION ${BIN_DIR}
+ RUNTIME
)
diff --git a/src/tools/CMakeLists.txt b/src/tools/CMakeLists.txt
index 5aa833ea9..35dcc6139 100644
--- a/src/tools/CMakeLists.txt
+++ b/src/tools/CMakeLists.txt
@@ -18,6 +18,7 @@ foreach(SRC ${TOOLS_SRCS})
# Set the executable to be installed to the bin directory under the main directory
install(TARGETS ${EXE}
DESTINATION ${BIN_DIR}
+ RUNTIME
)
# Add the executable to the list of files for CPack to ignore
set(EXE_BINARY "$<TARGET_FILE:${EXE}>")