Skip to content

Commit

Permalink
[mp-units] Configure only src folder (microsoft#26085)
Browse files Browse the repository at this point in the history
* [mp-units] Configure only src folder

* [mp-units] Configure only src folder

+ add license
  • Loading branch information
bansan85 authored Aug 3, 2022
1 parent f594392 commit d23405c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 33 deletions.
30 changes: 0 additions & 30 deletions ports/mp-units/cmake.patch

This file was deleted.

3 changes: 1 addition & 2 deletions ports/mp-units/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,11 @@ vcpkg_from_github(
REF v0.7.0
SHA512 72175f34f358d0741650ce9c8a7b28fced90cc45ddd3f1662ae1cb9ff7d31403ff742ee07ab4c96bd2d95af714d9111a888cf6acccb91e568e12d1ef663b2f64
PATCHES
cmake.patch
config.patch
)

vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
SOURCE_PATH "${SOURCE_PATH}/src"
)

vcpkg_cmake_install()
Expand Down
2 changes: 2 additions & 0 deletions ports/mp-units/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"name": "mp-units",
"version-semver": "0.7.0",
"port-version": 1,
"description": "mp-units - A Units Library for C++",
"homepage": "https://github.com/mpusz/units",
"license": "MIT",
"dependencies": [
"fmt",
"gsl-lite",
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -4710,7 +4710,7 @@
},
"mp-units": {
"baseline": "0.7.0",
"port-version": 0
"port-version": 1
},
"mp3lame": {
"baseline": "3.100",
Expand Down
5 changes: 5 additions & 0 deletions versions/m-/mp-units.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "b4bce95b7e67f66db9d613e7e3601c2b90cec665",
"version-semver": "0.7.0",
"port-version": 1
},
{
"git-tree": "ed05b65c897d6508b0b5f88f8a97373cf8fd8715",
"version-semver": "0.7.0",
Expand Down

0 comments on commit d23405c

Please sign in to comment.