mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 00:20:42 -05:00
f1c2d7e965
Instead of adding -DCOGL_ENABLE_EXPERIMENTAL_2_0_API to the cogl-2.0-experimental.pc file we now install a cogl2-experimental.h that #defines COGL_ENABLE_EXPERIMENTAL_2_0_API before including cogl.h. The problem with having the define in the .pc file is that you might develop a library that depends on the experimental 2.0 api internally and then you might want to use that library with Clutter which still uses the 1.0 API but the .pc file for your library will indirectly, automatically enable the 2.0 api which can cause conflicts.
14 lines
319 B
PkgConfig
14 lines
319 B
PkgConfig
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
includedir=@includedir@
|
|
apiversion=@COGL_API_VERSION@
|
|
requires=@COGL_PKG_REQUIRES@
|
|
|
|
Name: Cogl
|
|
Description: An object oriented GL/GLES Abstraction/Utility Layer
|
|
Version: @COGL_VERSION@
|
|
Libs: -L${libdir} -lcogl
|
|
Cflags: -I${includedir}/cogl
|
|
Requires: ${requires}
|