From c5c07e363cfb31df45906d220147e8e3bee23ba2 Mon Sep 17 00:00:00 2001 From: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com> Date: Thu, 31 Dec 2020 02:41:49 +0800 Subject: [LLGL] installs header files in the wrong directory (#15366) --- ports/llgl/CONTROL | 1 + ports/llgl/fix-install-error.patch | 2 +- ports/llgl/portfile.cmake | 3 +-- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ports/llgl/CONTROL b/ports/llgl/CONTROL index fcba2d2d4..48341f27d 100644 --- a/ports/llgl/CONTROL +++ b/ports/llgl/CONTROL @@ -1,5 +1,6 @@ Source: llgl Version: 2019-08-15 +Port-Version: 1 Homepage: https://github.com/LukasBanana/LLGL Description: Low Level Graphics Library (LLGL) is a thin abstraction layer for the modern graphics APIs OpenGL, Direct3D, Vulkan, and Metal. Supports: !uwp diff --git a/ports/llgl/fix-install-error.patch b/ports/llgl/fix-install-error.patch index 30b9c3040..872d01bfc 100644 --- a/ports/llgl/fix-install-error.patch +++ b/ports/llgl/fix-install-error.patch @@ -39,6 +39,6 @@ index f440884..d1b0c2f 100644 + ARCHIVE DESTINATION lib +) +# Install headers -+install(DIRECTORY ${PROJECT_INCLUDE_DIR} DESTINATION include) ++install(DIRECTORY ${PROJECT_INCLUDE_DIR} DESTINATION .) + diff --git a/ports/llgl/portfile.cmake b/ports/llgl/portfile.cmake index ddafdc9de..6ee4bed6b 100644 --- a/ports/llgl/portfile.cmake +++ b/ports/llgl/portfile.cmake @@ -35,5 +35,4 @@ endif() vcpkg_copy_pdbs() # Handle copyright -file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT}) -file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright) \ No newline at end of file +file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) \ No newline at end of file -- cgit v1.2.3