]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Install example source in docdir/examples
authorMatthew Barr <matthew.barr@intel.com>
Sun, 19 Mar 2017 23:00:51 +0000 (10:00 +1100)
committerMatthew Barr <matthew.barr@intel.com>
Wed, 26 Apr 2017 05:17:19 +0000 (15:17 +1000)
examples/CMakeLists.txt

index b52bbdfafa10b3b71adf694612d8406e89f685ab..c252c9ace069c1120e6dcd7ed7e68fcadf5b7630 100644 (file)
@@ -22,3 +22,6 @@ set_source_files_properties(patbench.cc PROPERTIES COMPILE_FLAGS
     "-Wall -Wno-unused-parameter")
 target_link_libraries(patbench hs pcap)
 endif()
+
+install(FILES simplegrep.c pcapscan.cc patbench.cc README.md
+        DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples)