vcpkg/ports/getopt-win32/CMakeLists.txt
Zac Walker d090b933e9
[getopt-win32] ARM64 support (#24963)
* [getopt-win32] ARM64 support

* retrigger checks

* updated git-tree sha

* Specify ports that do not support ARM but were enabled by getopt-win32 adding support.

* Upated SHA's

* Update ports/getopt-win32/portfile.cmake

Formatting indentation fix.

Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>

* Formatting indentation fix.

* Update version database

* [getopt-win32] Use CMake

* Updating versions

Co-authored-by: Mengna Li <95600143+Adela0814@users.noreply.github.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-06-03 15:13:55 -07:00

12 lines
239 B
CMake

cmake_minimum_required(VERSION 3.14)
project(getopt-win32 C)
if(BUILD_SHARED_LIBS)
add_definitions(-DEXPORTS_GETOPT)
else()
add_definitions(-DSTATIC_GETOPT)
endif()
add_library(getopt getopt.c)
install(TARGETS getopt)