diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/tiny-regex-c/CMakeLists.txt | |
Diffstat (limited to 'vcpkg/ports/tiny-regex-c/CMakeLists.txt')
| -rw-r--r-- | vcpkg/ports/tiny-regex-c/CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/vcpkg/ports/tiny-regex-c/CMakeLists.txt b/vcpkg/ports/tiny-regex-c/CMakeLists.txt new file mode 100644 index 0000000..44c7ad7 --- /dev/null +++ b/vcpkg/ports/tiny-regex-c/CMakeLists.txt @@ -0,0 +1,24 @@ +cmake_minimum_required(VERSION 3.14)
+
+project(tiny-regex-c LANGUAGES C)
+
+include(GNUInstallDirs)
+
+add_library(tiny-regex-c re.c)
+
+target_include_directories(
+ tiny-regex-c
+ PUBLIC
+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
+)
+
+set_target_properties(tiny-regex-c PROPERTIES PUBLIC_HEADER re.h)
+
+install(TARGETS tiny-regex-c EXPORT unofficial-tiny-regex-c-config)
+
+install(
+ EXPORT unofficial-tiny-regex-c-config
+ NAMESPACE unofficial::tiny-regex-c::
+ DESTINATION share/unofficial-tiny-regex-c
+ PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
+)
|