mirror of
https://github.com/znc/znc.git
synced 2026-08-07 17:33:34 +02:00
Apple libsasl2 is still missing the .pc file
This commit is contained in:
+3
-1
@@ -132,7 +132,9 @@ if(WANT_CYRUS)
|
||||
CYRUS_HARDCODED)
|
||||
set(CMAKE_REQUIRED_LIBRARIES "${_old_cmake_required_libraries}")
|
||||
if(CYRUS_HARDCODED)
|
||||
set(CYRUS_LDFLAGS -lsasl2)
|
||||
add_library(HardcodedCyrusDep INTERFACE)
|
||||
add_library(PkgConfig::CYRUS ALIAS HardcodedCyrusDep)
|
||||
target_link_libraries(HardcodedCyrusDep INTERFACE sasl2)
|
||||
set(CYRUS_FOUND true)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user