diff options
| author | Robert Schumacher <roschuma@microsoft.com> | 2019-11-22 09:47:40 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-22 09:47:40 -0800 |
| commit | 45f4b820e5743b89bca3508ba2028cdd5d8bbd17 (patch) | |
| tree | f874a8c4a7392309bdbb86447288597ec0a4a281 /ports/halide/fix-install-path.patch | |
| parent | 62d67d3bf8eeff1afa8009041fd08b8822676b7b (diff) | |
| parent | 8831e8f25f1ff6546ee4a5291b91d599421637b3 (diff) | |
| download | vcpkg-45f4b820e5743b89bca3508ba2028cdd5d8bbd17.tar.gz vcpkg-45f4b820e5743b89bca3508ba2028cdd5d8bbd17.zip | |
Merge branch 'master' into vcpkg_nuget
Diffstat (limited to 'ports/halide/fix-install-path.patch')
| -rw-r--r-- | ports/halide/fix-install-path.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/ports/halide/fix-install-path.patch b/ports/halide/fix-install-path.patch new file mode 100644 index 000000000..46ca4bd45 --- /dev/null +++ b/ports/halide/fix-install-path.patch @@ -0,0 +1,37 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4ba3843..6697118 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -450,7 +450,7 @@ install(FILES + DESTINATION include) + + install(DIRECTORY tutorial +- DESTINATION . ++ DESTINATION share/halide + FILES_MATCHING + PATTERN "*.cpp" + PATTERN "*.h" +@@ -478,12 +478,12 @@ endforeach() + # ---- README + file(GLOB FILES "${HALIDE_BASE_DIR}/*.md") + install(FILES ${FILES} +- DESTINATION .) ++ DESTINATION share/halide) + + # ---- halide.cmake + file(GLOB FILES "${HALIDE_BASE_DIR}/*.cmake") + install(FILES ${FILES} +- DESTINATION .) ++ DESTINATION share/halide) + + # ---- halide_config + file(GLOB FILES "${HALIDE_BASE_DIR}/tools/halide_config.*.tpl") +@@ -492,7 +492,7 @@ foreach(F ${FILES}) + string(REGEX REPLACE "\\.tpl$" "" FNAME "${FNAME}") # Strip .tpl extension + configure_file("${F}" "${CMAKE_BINARY_DIR}/${FNAME}" @ONLY) + install(FILES "${CMAKE_BINARY_DIR}/${FNAME}" +- DESTINATION .) ++ DESTINATION share/halide) + endforeach() + + add_custom_target(distrib |
