-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sergey Vlasov
authored and
Sergey Vlasov
committed
Mar 20, 2024
1 parent
949e260
commit 61b3d49
Showing
5 changed files
with
19 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
find_package(jsoncpp CONFIG REQUIRED) | ||
|
||
add_library(dns STATIC dns.cpp dns.h) | ||
|
||
target_include_directories(dns PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) | ||
target_link_libraries(dns PRIVATE JsonCpp::JsonCpp) | ||
|
||
if(WIN32) | ||
target_link_libraries(dns PUBLIC wsock32 ws2_32) | ||
endif() |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters