diff --git a/ports/cereal/portfile.cmake b/ports/cereal/portfile.cmake index 8869fcbc194693..cf667b6f3740ca 100644 --- a/ports/cereal/portfile.cmake +++ b/ports/cereal/portfile.cmake @@ -8,20 +8,18 @@ vcpkg_from_github( HEAD_REF master ) -vcpkg_configure_cmake( +vcpkg_cmake_configure( SOURCE_PATH "${SOURCE_PATH}" - PREFER_NINJA OPTIONS -DJUST_INSTALL_CEREAL=ON ) -vcpkg_install_cmake() -vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/cereal) +vcpkg_cmake_install() +vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/cereal) # Clean file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib") # Handle copyright -file(COPY "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}") -file(RENAME "${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright") +file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) diff --git a/ports/cereal/vcpkg.json b/ports/cereal/vcpkg.json index dbdefb89c7339b..aface78b9abcc3 100644 --- a/ports/cereal/vcpkg.json +++ b/ports/cereal/vcpkg.json @@ -1,7 +1,18 @@ { "name": "cereal", "version": "1.3.2", + "port-version": 1, "description": "a header-only C++11 serialization library (built in support for binary, XML and JSon)", "homepage": "https://github.com/USCiLab/cereal", - "license": "BSD-3-Clause" + "license": "BSD-3-Clause", + "dependencies": [ + { + "name": "vcpkg-cmake", + "host": true + }, + { + "name": "vcpkg-cmake-config", + "host": true + } + ] } diff --git a/versions/baseline.json b/versions/baseline.json index 9758e27329d29d..8a143444cfc136 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -1306,7 +1306,7 @@ }, "cereal": { "baseline": "1.3.2", - "port-version": 0 + "port-version": 1 }, "ceres": { "baseline": "2.1.0", diff --git a/versions/c-/cereal.json b/versions/c-/cereal.json index 9a7602b61ad34d..9ceeed2ddaa46f 100644 --- a/versions/c-/cereal.json +++ b/versions/c-/cereal.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "075869fcf5302c6dd11d564286d0dfa1d2d4d7a1", + "version": "1.3.2", + "port-version": 1 + }, { "git-tree": "fdaabbb005403148dd7e53f5158199f6b1b297f2", "version": "1.3.2",