summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/README4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/README b/examples/README
index 29413fd..a79c5d9 100644
--- a/examples/README
+++ b/examples/README
@@ -3,10 +3,10 @@ Examples:
surfaces: demonstrates how to use various surface types
text: various examples of drawing text
-
These examples are built automatically as part of cairomm, and you can
easily try them out if you are building from source. If cairomm has been
installed on your system, you can compile an example program with
- g++ `pkg-config --cflags --libs cairomm-1.0` main.cc
+ g++ main.cc `pkg-config --cflags --libs cairomm-1.0` -std=c++11
+with main.cc replaced by the name of the program you want to build.