vcpkg/ports/rsocket/fix-cmake-config.patch
curoky 62cbf26175
[rsocket] Add new port (#11021)
* [rsocket] Add new port

* [rsocket] don't build in some window environment

* [rsocket] add missing deps in CONTROL

* [rsocket] add missing deps in CONTROL

* [rsocket] remove some deprecated args

* [rsocket] romove vcpkg_fail_port_install(ON_ARCH x64)

* [rsocket] only support x64 architecture

* [rsocket] upgrade to 2020.05.04.00

* [rsocket] add vcpkg_fail_port_install to portfile

* [rsocket] Fix find dependencies

* Update ports/rsocket/portfile.cmake

* Update ports/rsocket/CONTROL

Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
2020-07-31 11:07:14 -07:00

27 lines
873 B
Diff

diff --git a/cmake/rsocket-config.cmake.in b/cmake/rsocket-config.cmake.in
index d5579a85..ea12752a 100644
--- a/cmake/rsocket-config.cmake.in
+++ b/cmake/rsocket-config.cmake.in
@@ -4,7 +4,7 @@
@PACKAGE_INIT@
if(NOT TARGET rsocket::ReactiveSocket)
- include("${PACKAGE_PREFIX_DIR}/lib/cmake/rsocket/rsocket-exports.cmake")
+ include("${CMAKE_CURRENT_LIST_DIR}/rsocket-exports.cmake")
endif()
if (NOT rsocket_FIND_QUIETLY)
diff --git a/yarpl/cmake/yarpl-config.cmake.in b/yarpl/cmake/yarpl-config.cmake.in
index d557b213..1b83fffc 100644
--- a/yarpl/cmake/yarpl-config.cmake.in
+++ b/yarpl/cmake/yarpl-config.cmake.in
@@ -4,7 +4,7 @@
@PACKAGE_INIT@
if(NOT TARGET yarpl::yarpl)
- include("${PACKAGE_PREFIX_DIR}/lib/cmake/yarpl/yarpl-exports.cmake")
+ include("${CMAKE_CURRENT_LIST_DIR}/yarpl-exports.cmake")
endif()
set(YARPL_LIBRARIES yarpl::yarpl)