diff options
| author | Karl Schultz <karl@lunarg.com> | 2017-03-10 14:58:10 -0700 |
|---|---|---|
| committer | Karl Schultz <karl@lunarg.com> | 2017-03-14 17:12:45 -0600 |
| commit | c1321c4b7c2f6e16b324795484521ab68b264e29 (patch) | |
| tree | f45fa0cea789f48ed7a6c1d763ca8a74d3391387 /layers/buffer_validation.cpp | |
| parent | ddf0b0f56cd01f2a77a84009e8a11510830d14d3 (diff) | |
| download | usermoji-c1321c4b7c2f6e16b324795484521ab68b264e29.tar.xz | |
build: Add pkgconfig file for the Vulkan loader
Fixes #757
On Linux, the build configures a vulkan.pc pkgconfig
file, writing it to <build_dir>/loader. The make 'install'
target then installs this file along with the others so that
it can be found with pkg-config. Then, issuing:
$ pkg-config --libs --cflags vulkan
emits compilation flags for vulkan programs.
Since retrieving the header version from vulkan.h was needed in
order to put the Version in the pc file, this commit also uses
the header version to specify the SO version, so it no longer needs
to be changed for every release.
Change-Id: If83c17bfbb59f2ee05d5f86f5e957fc11871546b
Diffstat (limited to 'layers/buffer_validation.cpp')
0 files changed, 0 insertions, 0 deletions
