YAy PEG: Require PEGTL 2.7.1
-include (LibAddMacros)
+if (DEPENDENCY_PHASE)
+ find_package (PEGTL 2.7.1 QUIET EXACT)
+ if (NOT PEGTL_FOUND)
+ remove_plugin (yaypeg "PEGTL (tao-pegtl == 2.7.1) not found")
+ endif (NOT PEGTL_FOUND)
+endif (DEPENDENCY_PHASE)
add_plugin (yaypeg
CPP
