Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion ports/enchantum/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@ vcpkg_cmake_configure(
)

vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH "cmake")

# upstream installs enchantumConfig.cmake into <prefix>/cmake but enchantumTargets.cmake
# into <prefix>/share/enchantum/cmake; merge them so the config's include() resolves
file(RENAME "${CURRENT_PACKAGES_DIR}/cmake/enchantumConfig.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/cmake/enchantumConfig.cmake")
file(RENAME "${CURRENT_PACKAGES_DIR}/cmake/enchantumConfigVersion.cmake" "${CURRENT_PACKAGES_DIR}/share/${PORT}/cmake/enchantumConfigVersion.cmake")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/cmake")

vcpkg_cmake_config_fixup(CONFIG_PATH "share/${PORT}/cmake")
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")
1 change: 1 addition & 0 deletions ports/enchantum/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "enchantum",
"version": "0.4.0",
"port-version": 1,
"description": "Header-only C++20 fast compile time enum reflection library.",
"homepage": "https://github.com/ZXShady/enchantum",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2842,7 +2842,7 @@
},
"enchantum": {
"baseline": "0.4.0",
"port-version": 0
"port-version": 1
},
"enet": {
"baseline": "1.3.18",
Expand Down
5 changes: 5 additions & 0 deletions versions/e-/enchantum.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a4da5cd54484cf6ca2df733ea55c30b3d7e623cd",
"version": "0.4.0",
"port-version": 1
},
{
"git-tree": "9e632360b3bc5934e84c78c8382c9645af4a089a",
"version": "0.4.0",
Expand Down