vcpkg/ports/gettimeofday/portfile.cmake
xoviat 29f62852bd New port: MIT gettimeofday implementation ()
* [gettimeofday] create CONTROL

* [gettimeofday] add source file

* [gettimeofday] add header

* [gettimeofday] create portfile

* [gettimeofday] add cmakelists.txt

* [gettimeofday/portfile] require static

* [gettimeofday/portfile] set source path

* [gettimeofday] create license

* [gettimeofday] remove duplicate headers
2017-10-26 22:08:00 -07:00

12 lines
279 B
CMake

include(vcpkg_common_functions)
vcpkg_configure_cmake(
SOURCE_PATH ${CMAKE_CURRENT_LIST_DIR}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
file(INSTALL ${CMAKE_CURRENT_LIST_DIR}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/gettimeofday RENAME copyright)