build: Make packages versioned

Since we cannot rely on the API to be stable upstream, let's start
making the pkg-config, library, and include dir have a version suffix.
This will allow different downstream projects depending on us to
independently switch versions without packagers having to jump through
hoops.
This commit is contained in:
Arun Raghavan
2020-10-20 17:22:26 -04:00
parent bcec8b0b21
commit 21d78a4267
6 changed files with 43 additions and 24 deletions

View File

@ -28,7 +28,7 @@ api_headers = [
foreach h : api_headers
install_headers(
join_paths(h[0], h[1]),
subdir: join_paths('webrtc_audio_processing', 'api', h[0])
subdir: join_paths(include_subdir, 'api', h[0])
)
endforeach