mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
BUILD(cmake): Find and link Poco::XML
Without this, building against the latest poco snapshot results in errors like: /usr/bin/ld: /builddir/build/BUILD/mumble-1.4.230.src/src/mumble/PluginManifest.cpp:72: undefined reference to `typeinfo for Poco::XML::Element'
This commit is contained in:
parent
aa62d87fea
commit
fefdd79ebc
@ -411,11 +411,16 @@ target_include_directories(mumble_client_object_lib
|
||||
"${PLUGINS_DIR}"
|
||||
)
|
||||
|
||||
find_pkg(Poco COMPONENTS Zip)
|
||||
find_pkg(Poco
|
||||
COMPONENTS
|
||||
XML
|
||||
Zip
|
||||
)
|
||||
|
||||
if(TARGET Poco::Zip)
|
||||
target_link_libraries(mumble_client_object_lib
|
||||
PUBLIC
|
||||
Poco::XML
|
||||
Poco::Zip
|
||||
)
|
||||
else()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user