From 3e5d3c5bdc2f52982529bd6cbf8e1edf914ec163 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 15 Apr 2024 12:35:36 +0100 Subject: Avoid packaging unnecessary .lib files on Windows. [skip alpine ci] [skip ubuntu ci] --- src/CMakeLists.txt | 1 + src/tools/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) (limited to 'src') 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 "$") -- cgit