Skip to content

Commit

Permalink
Create portfile.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
2004seraph committed Nov 20, 2022
1 parent ebced73 commit 3af272b
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO cyanseraph/cyanshaderlib
REF ebced73f6ec36c9e3c5863f7760d24eb5183141a
SHA512 0
HEAD_REF main
)

vcpkg_configure_cmake(
SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_fixup_cmake_targets()

file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")

file(
INSTALL "${SOURCE_PATH}/LICENSE"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
RENAME copyright
)

0 comments on commit 3af272b

Please sign in to comment.