python: build with python 2.7 in the correct python site dir
This commit also introduces BUILDPYTHON3 option, by default mraa will look for a python 2 installation Signed-off-by: Kevron Rees <tripzero.kev@gmail.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
805d22f0b1
commit
62213fad77
@@ -55,6 +55,7 @@ option (BUILDSWIG "Build swig modules." ON)
|
||||
option (BUILDSWIGPYTHON "Build swig python modules." ON)
|
||||
option (BUILDSWIGNODE "Build swig node modules." ON)
|
||||
option (IPK "Generate IPK using CPack" OFF)
|
||||
option (BUILDPYTHON3 "Use python3 for building/installing" OFF)
|
||||
|
||||
include (TargetArch)
|
||||
target_architecture (DETECTED_ARCH)
|
||||
|
||||
Reference in New Issue
Block a user