vcpkg/ports/libaes-siv/usage
Samuel Marks 4d73751b34
[libaes-siv] New port (#34519)
* [ports/libaes-siv] New port

* [ports/libaes-siv/CMakeLists.txt] Only include one C file ; use compile flags from their official CMakeLists.txt ; link OpenSSL

* Update ports/libaes-siv/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* `./vcpkg x-add-version --all --overwrite-version`

* [ports/libaes-siv/CMakeLists.txt] Copy yara port's approach to depending on OpenSSL

* [ports/libaes-siv/CMakeLists.txt] Use @ for escaping vars and use https://cmake.org/cmake/help/latest/command/file.html#configure instead of `file(WRITE` following by `configure_file`

* Update ports/libaes-siv/CMakeLists.txt

Co-authored-by: Kai Pastor <dg0yt@darc.de>

* Update ports/libaes-siv/CMakeLists.txt

Co-authored-by: Kai Pastor <dg0yt@darc.de>

* Update ports/libaes-siv/CMakeLists.txt

Co-authored-by: Kai Pastor <dg0yt@darc.de>

* ./vcpkg x-add-version libaes-siv --overwrite-version

---------

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Kai Pastor <dg0yt@darc.de>
2023-11-15 17:24:14 -08:00

4 lines
166 B
Plaintext

libaes-siv provides CMake targets:
find_package(unofficial-libaes-siv CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::libaes-siv::libaes-siv)