https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
7 lines
124 B
PkgConfig
7 lines
124 B
PkgConfig
prefix=@out@
|
|
includedir=@out@/include
|
|
|
|
Name: GLM
|
|
Description: OpenGL Mathematics
|
|
Version: @version@
|
|
Cflags: -I${includedir}
|