summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-02-24 00:30:47 -0500
committerAdam <Adam@anope.org>2014-02-24 00:30:47 -0500
commitf8308841a60414b2e0ab7695cf00409f596512e1 (patch)
treefcdd170410b29ce15589517e87a511d7ff380a9d /CMakeLists.txt
parent1dfdf36fc3c542d7b2fa61ffee6d4b246cf890b3 (diff)
Package dlls in src/win32 on Windows
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 04e6dda22..f1fbb1bb1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -497,6 +497,10 @@ if(WIN32)
install(FILES ${Anope_SOURCE_DIR}/src/win32/anope.bat
DESTINATION ${BIN_DIR}
)
+
+ # Package any DLLs in src/win/
+ file(GLOB EXTRA_DLLS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "${Anope_SOURCE_DIR}/src/win32/*.dll")
+ install(FILES ${EXTRA_DLLS} DESTINATION ${BIN_DIR})
endif(WIN32)
install(CODE "file(REMOVE_RECURSE \"${CMAKE_INSTALL_PREFIX}/${LIB_DIR}/modules\")")