mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
5 lines
204 B
Plaintext
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>)
|