aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/tiny-aes-c/CMakeLists.txt
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/tiny-aes-c/CMakeLists.txt
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/tiny-aes-c/CMakeLists.txt')
-rw-r--r--vcpkg/ports/tiny-aes-c/CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/tiny-aes-c/CMakeLists.txt b/vcpkg/ports/tiny-aes-c/CMakeLists.txt
new file mode 100644
index 0000000..6e32225
--- /dev/null
+++ b/vcpkg/ports/tiny-aes-c/CMakeLists.txt
@@ -0,0 +1,24 @@
+cmake_minimum_required(VERSION 3.14)
+
+project(tiny-aes-c LANGUAGES C ASM)
+
+include(GNUInstallDirs)
+
+add_library(tiny-aes-c aes.c)
+
+target_include_directories(
+ tiny-aes-c
+ PUBLIC
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
+)
+
+install(FILES aes.h aes.hpp DESTINATION include)
+
+install(TARGETS tiny-aes-c EXPORT unofficial-tiny-aes-c-config)
+
+install(
+ EXPORT unofficial-tiny-aes-c-config
+ NAMESPACE unofficial::tiny-aes-c::
+ DESTINATION share/unofficial-tiny-aes-c
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
+)