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/vowpal-wabbit/fix-external-libraries.patch | |
Diffstat (limited to 'vcpkg/ports/vowpal-wabbit/fix-external-libraries.patch')
| -rw-r--r-- | vcpkg/ports/vowpal-wabbit/fix-external-libraries.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/vcpkg/ports/vowpal-wabbit/fix-external-libraries.patch b/vcpkg/ports/vowpal-wabbit/fix-external-libraries.patch new file mode 100644 index 0000000..00e8ac7 --- /dev/null +++ b/vcpkg/ports/vowpal-wabbit/fix-external-libraries.patch @@ -0,0 +1,23 @@ +diff --git a/ext_libs/ext_libs.cmake b/ext_libs/ext_libs.cmake +index e03de86..073db1c 100644 +--- a/ext_libs/ext_libs.cmake ++++ b/ext_libs/ext_libs.cmake +@@ -37,8 +37,6 @@ endif() + if(RAPIDJSON_SYS_DEP) + # Since EXACT is not specified, any version compatible with 1.1.0 is accepted (>= 1.1.0) + find_package(RapidJSON 1.1.0 CONFIG REQUIRED) +- add_library(RapidJSON INTERFACE) +- target_include_directories(RapidJSON INTERFACE ${RapidJSON_INCLUDE_DIRS} ${RAPIDJSON_INCLUDE_DIRS}) + else() + add_library(RapidJSON INTERFACE) + target_include_directories(RapidJSON SYSTEM INTERFACE "${CMAKE_CURRENT_LIST_DIR}/rapidjson/include") +@@ -101,8 +99,7 @@ endif() + if(VW_EIGEN_SYS_DEP) + # Since EXACT is not specified, any version compatible with 3.4.0 is accepted (>= 3.4.0) + find_package(Eigen3 3.4.0 CONFIG REQUIRED) +- add_library(eigen INTERFACE) +- target_include_directories(eigen INTERFACE ${EIGEN3_INCLUDE_DIR}) ++ add_library(eigen ALIAS Eigen3::Eigen) + else() + if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/eigen/CMakeLists.txt) + message(SEND_ERROR "The eigen git submodule is not available.\ |