2022-10-06 06:15:14 +08:00
|
|
|
The package nmap is compatible with built-in CMake targets:
|
2019-03-09 15:25:49 +08:00
|
|
|
|
|
|
|
find_package(NMAP REQUIRED)
|
|
|
|
target_link_libraries(main PRIVATE ${NMAP_LIBRARIES})
|
|
|
|
target_include_directories(main PRIVATE ${NMAP_INCLUDE_DIRS})
|