Files
vcpkg/ports/getopt-win32/usage
Kai Pastor b6ebb6b65b [getopt-win32] update to 2.42.0 (#48281)
Co-authored-by: PaperChalice <liujunchang97@outlook.com>
2025-11-20 14:14:13 -08:00

5 lines
204 B
Plaintext

getopt-win32 provides CMake targets:
find_package(getopt CONFIG REQUIRED)
target_link_libraries(main PRIVATE $<IF:$<TARGET_EXISTS:getopt::getopt_shared>,getopt::getopt_shared,getopt::getopt_static>)