aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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(