aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLily <47812810+LilyWangL@users.noreply.github.com>2020-02-05 05:32:09 +0800
committerGitHub <noreply@github.com>2020-02-04 13:32:09 -0800
commit0591528cbfde14ccfd3900c3fb19aba382c05349 (patch)
tree75bf7ad1791f664481348077bd47cece9b23423d
parentfa022fb0fb85c627c8b55c574668b36cade71ac8 (diff)
downloadvcpkg-0591528cbfde14ccfd3900c3fb19aba382c05349.tar.gz
vcpkg-0591528cbfde14ccfd3900c3fb19aba382c05349.zip
[halide] Fix can't be found by cmake. (#8803)
* [halide] Fix can't be found by cmake. * Remove include(vcpkg_common_functions)
-rw-r--r--ports/halide/CONTROL2
-rw-r--r--ports/halide/portfile.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/halide/CONTROL b/ports/halide/CONTROL
index 68360baf8..7ad30fb6d 100644
--- a/ports/halide/CONTROL
+++ b/ports/halide/CONTROL
@@ -1,5 +1,5 @@
Source: halide
-Version: release_2019_08_27
+Version: release_2019_08_27-1
Homepage: https://github.com/halide/Halide
Description: Halide is a programming language designed to make it easier to write high-performance image processing code on modern machines.
Build-Depends: llvm, openblas
diff --git a/ports/halide/portfile.cmake b/ports/halide/portfile.cmake
index be59c06af..058610ad5 100644
--- a/ports/halide/portfile.cmake
+++ b/ports/halide/portfile.cmake
@@ -1,5 +1,3 @@
-include(vcpkg_common_functions)
-
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO halide/Halide
@@ -69,5 +67,7 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH share/halide)
vcpkg_copy_pdbs()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/halide_config.cmake ${CURRENT_PACKAGES_DIR}/share/${PORT}/halide-config.cmake)
+file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/halide_config.make ${CURRENT_PACKAGES_DIR}/share/${PORT}/halide-config.make)
file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)