papi: use python3 for papi install 52/26952/2
authorOle Troan <ot@cisco.com>
Fri, 8 May 2020 08:39:30 +0000 (10:39 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 8 May 2020 12:47:55 +0000 (12:47 +0000)
Breaks on Ubuntu 20.04 otherwise.

Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: I407215a03948d6e49152ee97099539bb625c12ef

src/vpp-api/python/CMakeLists.txt

index a81a6f6..910df6b 100644 (file)
@@ -11,7 +11,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-find_package(PythonInterp 2.7)
+find_package(Python3 COMPONENTS Interpreter)
 
 if(PYTHONINTERP_FOUND)
   install(