Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main] fix pkgconfig metadata on windows and tighten tests #209

Merged
merged 3 commits into from
Feb 20, 2024
Merged
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: 4 additions & 5 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ outputs:
- {{ compiler('cxx') }}
- cmake
- ninja
- pkg-config
files:
- cmake_test/
commands:
Expand All @@ -87,11 +88,9 @@ outputs:
- test -f ${PREFIX}/lib/cmake/protobuf/protobuf-config.cmake # [unix]
- if not exist %LIBRARY_LIB%\cmake\protobuf\protobuf-config.cmake exit 1 # [win]

# pkgconfig
- test -f ${PREFIX}/lib/pkgconfig/protobuf.pc # [unix]
- test -f ${PREFIX}/lib/pkgconfig/protobuf-lite.pc # [unix]
- if not exist %LIBRARY_LIB%\pkgconfig\protobuf.pc exit 1 # [win]
- if not exist %LIBRARY_LIB%\pkgconfig\protobuf-lite.pc exit 1 # [win]
# pkg-config
- pkg-config --print-errors --exact-version "{{ version }}.0" protobuf
- pkg-config --print-errors --exact-version "{{ version }}.0" protobuf-lite

# binary
- protoc --help
Expand Down
Loading