aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackBoosY <yuzaiyang@beyondsoft.com>2019-10-15 01:27:48 -0700
committerJackBoosY <yuzaiyang@beyondsoft.com>2019-10-15 01:28:13 -0700
commit91a3d167257a02ac829e98e9d856fb8549950fc9 (patch)
treeed748915b4141bcb74b4f30a68a7500bc89a112c
parent3cf69f964d1fd374acdb31fb30070059e3f8954e (diff)
downloadvcpkg-91a3d167257a02ac829e98e9d856fb8549950fc9.tar.gz
vcpkg-91a3d167257a02ac829e98e9d856fb8549950fc9.zip
[embree3]Fix generated cmake files path.
-rw-r--r--ports/embree3/CONTROL2
-rw-r--r--ports/embree3/portfile.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/embree3/CONTROL b/ports/embree3/CONTROL
index be2b8ba86..d27eefbcc 100644
--- a/ports/embree3/CONTROL
+++ b/ports/embree3/CONTROL
@@ -1,5 +1,5 @@
Source: embree3
-Version: 3.5.2-2
+Version: 3.5.2-3
Homepage: https://github.com/embree/embree
Description: High Performance Ray Tracing Kernels.
Build-Depends: tbb
diff --git a/ports/embree3/portfile.cmake b/ports/embree3/portfile.cmake
index c43dbb45c..a24fb44ae 100644
--- a/ports/embree3/portfile.cmake
+++ b/ports/embree3/portfile.cmake
@@ -43,12 +43,12 @@ vcpkg_configure_cmake(
vcpkg_install_cmake()
vcpkg_copy_pdbs()
-vcpkg_fixup_cmake_targets(CONFIG_PATH share/embree3)
+vcpkg_fixup_cmake_targets(CONFIG_PATH share/embree3 TARGET_PATH share/embree)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
-file(RENAME ${CURRENT_PACKAGES_DIR}/share/doc ${CURRENT_PACKAGES_DIR}/share/${PORT}/doc)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/doc ${CURRENT_PACKAGES_DIR}/share/embree/doc)
# Handle copyright
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)