build: complete python3 support, no hardcode path 36/33736/4
authorNick Brown <nickbroon@gmail.com>
Thu, 16 Sep 2021 09:56:33 +0000 (10:56 +0100)
committerOle Tr�an <otroan@employees.org>
Tue, 28 Sep 2021 11:11:55 +0000 (11:11 +0000)
commitd67ad46903a1772d538e0aade230b39105a584e9
treea529d7c79c65146a35f2e30bcef0a6a51a103d19
parent850024bb846c193ada01f7237b3cfcd998e67d9c
build: complete python3 support, no hardcode path

find_package(Python3) will not set variables that are later used, so set
those needed. Perhaps the python2 support, which is EOL, could be
dropped?

Use DESTDIR, instead of hardcoding the path. This allows system
packaging, or local installs, to work properly.

Type: make
Signed-off-by: Nick Brown <nickbroon@gmail.com>
Change-Id: I045516c61473c612ab70858cd9b58c4e2838b347
src/vpp-api/python/CMakeLists.txt