mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpiutil] Fix cmake build on windows when only MulticastServiceAnnouncer is used (#8454)
The pragma lib was only in the resolver. But if you had a statically linked library that only used the announcer, the import wouldn't get resolved.
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
#include "wpi/util/SmallVector.hpp"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
|
||||
#pragma comment(lib, "dnsapi")
|
||||
|
||||
using namespace wpi::net;
|
||||
|
||||
struct ImplBase {
|
||||
|
||||
Reference in New Issue
Block a user