vcpkg/ports/shogun/cmake-config.in.patch
NancyLi1013 129fb5a748
[shogun] Fix target.cmake path (#10246)
* [shogun] Fix target.cmake file path

* [shogun] Fix target.cmake file path

* Update the way to find dirent.h

* Add fix-dirent.patch
2020-03-02 15:55:52 -08:00

12 lines
446 B
Diff

diff --git a/cmake/ShogunConfig.cmake.in b/cmake/ShogunConfig.cmake.in
index e8e8035..a5097cb 100644
--- a/cmake/ShogunConfig.cmake.in
+++ b/cmake/ShogunConfig.cmake.in
@@ -2,5 +2,5 @@
set_and_check(shogun_INCLUDE_DIR "@PACKAGE_INCLUDE_INSTALL_DIR@")
-include("@PACKAGE_CONFIG_PACKAGE_DIR@/ShogunTargets.cmake")
+include("@PACKAGE_CONFIG_PACKAGE_DIR@/../../../share/shogun/ShogunTargets.cmake")
check_required_components(shogun)