1
0
mirror of https://github.com/anope/anope.git synced 2026-06-12 17:24:49 +02:00

use Conan for extra's dependencies on Windows

conan install src\win32\conanfile.txt --build=missing
cmake -B build .
cmake --build build --config Release --target PACKAGE
This commit is contained in:
Adam
2023-06-02 18:20:19 -04:00
parent fe3926f572
commit 07babdbd77
5 changed files with 53 additions and 6 deletions
-4
View File
@@ -502,10 +502,6 @@ 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 \"$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${LIB_DIR}/modules\")")