[effolkronium-random] Fix the usage (#20816)

This commit is contained in:
NancyLi1013 2021-10-20 09:30:16 +08:00 committed by GitHub
parent aa028e94d7
commit 78858b657f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 4 deletions

View File

@ -9,11 +9,11 @@ vcpkg_from_github(
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DRandom_BuildTests=OFF
-DRandom_BuildTests=OFF
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
vcpkg_cmake_config_fixup(PACKAGE_NAME effolkronium_random CONFIG_PATH cmake)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL "${SOURCE_PATH}/LICENSE.MIT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(INSTALL "${SOURCE_PATH}/LICENSE.MIT" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,7 @@
{
"name": "effolkronium-random",
"version": "1.4.0",
"port-version": 1,
"description": "Random with a modern C++ API",
"homepage": "https://github.com/effolkronium/random",
"dependencies": [

View File

@ -1962,7 +1962,7 @@
},
"effolkronium-random": {
"baseline": "1.4.0",
"port-version": 0
"port-version": 1
},
"efsw": {
"baseline": "2020-06-08",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "0083b3439b06f6c6e2b5fbd48260cd5b54692bad",
"version": "1.4.0",
"port-version": 1
},
{
"git-tree": "6f870445e1974665f94fd66bc79c4bec3f33d090",
"version": "1.4.0",