mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-09-22 03:09:19 +03:00
Link to Windows libraries in CMake project, remove related #pragma directives
In addition to making the code cleaner, this also prevents potential issues due to #pragma directives being in headers.
This commit is contained in:
@ -14,11 +14,6 @@
|
||||
|
||||
#endif // WIN32COM_CPP
|
||||
|
||||
// For external function
|
||||
|
||||
#pragma comment(lib,"htmlhelp.lib")
|
||||
#pragma comment(lib,"Urlmon.lib")
|
||||
|
||||
#if defined(__cplusplus)
|
||||
extern "C"
|
||||
{
|
||||
|
Reference in New Issue
Block a user