Fix bug of missing to install simple_tc.py
authorZhiyi Sun <zhiyisun@gmail.com>
Thu, 8 Dec 2016 00:51:59 +0000 (08:51 +0800)
committerZhiyi Sun <zhiyisun@gmail.com>
Thu, 8 Dec 2016 00:51:59 +0000 (08:51 +0800)
examples/networking/CMakeLists.txt set $EXAMPLE_PROGRAMS twice. The
second one(tc_perf_event.py) overwirte the first one(simple_tc.py).

Signed-off-by: Zhiyi Sun <zhiyisun@gmail.com>
examples/networking/CMakeLists.txt

index 4fb9aba..405d651 100644 (file)
@@ -1,6 +1,6 @@
 set(EXAMPLE_FILES simulation.py)
 set(EXAMPLE_PROGRAMS simple_tc.py)
-set(EXAMPLE_PROGRAMS tc_perf_event.py)
+set(EXAMPLE_PROGRAMS ${EXAMPLE_PROGRAMS} tc_perf_event.py)
 install(FILES ${EXAMPLE_FILES} DESTINATION share/bcc/examples/networking)
 install(PROGRAMS ${EXAMPLE_PROGRAMS} DESTINATION share/bcc/examples/networking)