mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2026-10-22 01:51:20 +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:
1 parent
ec201f340a
commit
dbd4dd5ae7
7 files changed
+3
-34
No files matched your search
@@ -27,6 +27,7 @@ if(WIN32)
|
||||
)
|
||||
|
||||
target_include_directories(cedar PRIVATE winpcap)
|
||||
target_link_libraries(cedar PRIVATE comctl32.lib urlmon.lib)
|
||||
endif()
|
||||
|
||||
if(UNIX)
|
||||
|
||||
Reference in new issue
Block a user