summaryrefslogtreecommitdiff
path: root/cogl/cogl-2.0-experimental.pc.in
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2011-09-05 22:44:37 +0100
committerRobert Bragg <robert@linux.intel.com>2011-09-09 15:06:31 +0100
commitf1c2d7e965767cfe72829e060295ff47e94df1fa (patch)
treea1194bd6c0f58730e13798dd4a1e34c48d53ca67 /cogl/cogl-2.0-experimental.pc.in
parentd43505db22e3dcd384e78894c3c3f877363f65f0 (diff)
downloadcogl-f1c2d7e965767cfe72829e060295ff47e94df1fa.tar.gz
2.0: Add cogl2-experimental.h + don't pollute .pc CFLAGS
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.
Diffstat (limited to 'cogl/cogl-2.0-experimental.pc.in')
-rw-r--r--cogl/cogl-2.0-experimental.pc.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-2.0-experimental.pc.in b/cogl/cogl-2.0-experimental.pc.in
index a2b4a4bd..93eaf315 100644
--- a/cogl/cogl-2.0-experimental.pc.in
+++ b/cogl/cogl-2.0-experimental.pc.in
@@ -9,5 +9,5 @@ Name: Cogl
Description: An object oriented GL/GLES Abstraction/Utility Layer
Version: @COGL_VERSION@
Libs: -L${libdir} -lcogl
-Cflags: -I${includedir}/cogl -DCOGL_ENABLE_EXPERIMENTAL_2_0_API
+Cflags: -I${includedir}/cogl
Requires: ${requires}