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/yalantinglibs/use-external-libs.patch | |
Diffstat (limited to 'vcpkg/ports/yalantinglibs/use-external-libs.patch')
| -rw-r--r-- | vcpkg/ports/yalantinglibs/use-external-libs.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/vcpkg/ports/yalantinglibs/use-external-libs.patch b/vcpkg/ports/yalantinglibs/use-external-libs.patch new file mode 100644 index 0000000..6beb351 --- /dev/null +++ b/vcpkg/ports/yalantinglibs/use-external-libs.patch @@ -0,0 +1,28 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 8cc8d32..1259d1f 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -6,6 +6,11 @@ project(yaLanTingLibs + LANGUAGES CXX + ) + ++find_path(IGUANA_INCLUDE_DIRS "iguana/common.hpp") ++include_directories(${IGUANA_INCLUDE_DIRS}) ++find_path(CINATRA_INCLUDE_DIRS "cinatra.hpp") ++include_directories(${CINATRA_INCLUDE_DIRS}) ++ + # load pack finder + list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake/Find/) + +diff --git a/cmake/install.cmake b/cmake/install.cmake +index 956195f..ad9df4e 100644 +--- a/cmake/install.cmake ++++ b/cmake/install.cmake +@@ -24,7 +24,6 @@ target_include_directories(yalantinglibs INTERFACE + $<INSTALL_INTERFACE:include> + $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../include> + $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../include/ylt/thirdparty> +- $<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/../include/ylt/standalone> + ) + install(TARGETS yalantinglibs + EXPORT yalantinglibsTargets |