mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-11 20:59:01 +08:00
6 lines
198 B
CMake
6 lines
198 B
CMake
|
if(WIN32 AND NOT MINGW)
|
||
|
find_package(unofficial-getopt-win32 REQUIRED)
|
||
|
set(getopt_lib-static unofficial::getopt-win32::getopt)
|
||
|
set(MGL_HAVE_GETOPT 1 CACHE INTERNAL "From vcpkg")
|
||
|
endif()
|