[cmake] Do not add python flags unconditionally
Compare changes
@@ -13,12 +13,8 @@ function(add_dune_pythonlibs_flags _targets)
This add a patch from !239 (closed) and also removes some 2.7 backward compatibility code, since we only support dune versions >= 2.9 which all require Python3.