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

Migrate the Windows dependencies to Conan 2.

[skip alpine ci]
[skip ubuntu ci]
This commit is contained in:
Sadie Powell
2026-02-07 14:28:45 +00:00
parent bd72a444df
commit e7aa0cb583
7 changed files with 49 additions and 45 deletions
+4 -7
View File
@@ -25,7 +25,10 @@ include(CheckFunctionExists)
include(CheckTypeSize)
include(CheckLibraryExists)
include(CheckCXXCompilerFlag)
include(FindPkgConfig)
if(NOT WIN32)
include(FindPkgConfig)
endif()
# If extra include directories were specified, tell cmake about them.
if(EXTRA_INCLUDE)
@@ -37,12 +40,6 @@ if(EXTRA_LIBS)
link_directories(${EXTRA_LIBS})
endif()
# setup conan
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/conanbuildinfo.cmake")
include("${CMAKE_CURRENT_SOURCE_DIR}/conanbuildinfo.cmake")
conan_basic_setup(TARGETS)
endif()
# Find gettext
find_package(Gettext)
find_package(Intl)