aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2020-05-08 10:39:30 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-05-08 12:47:55 +0000
commitc5c788bfa1984071d5721d378b838d029fc7b680 (patch)
tree37290d903910c4455b1a9609ea68017bca6008da
parent71f62a52a2abaeb8b4fc8c70fde501fa7400417c (diff)
papi: use python3 for papi install
Breaks on Ubuntu 20.04 otherwise. Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I407215a03948d6e49152ee97099539bb625c12ef
-rw-r--r--src/vpp-api/python/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/python/CMakeLists.txt b/src/vpp-api/python/CMakeLists.txt
index a81a6f66f63..910df6bfd6b 100644
--- a/src/vpp-api/python/CMakeLists.txt
+++ b/src/vpp-api/python/CMakeLists.txt
@@ -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(