diff options
author | Johnathan Corgan | 2012-02-27 13:06:15 -0800 |
---|---|---|
committer | Johnathan Corgan | 2012-02-27 13:06:15 -0800 |
commit | e0dec91086d82b23a9b47cc05c08ccb55cf1351c (patch) | |
tree | cc9f846b60053cdea2f36ec8af6a72f7d980544f /cmake | |
parent | cff2b9ce9f899f495eba27839aef48001637df76 (diff) | |
parent | b3f43a05b809ce050add7f01ddc6c1c75635d490 (diff) | |
download | gnuradio-e0dec91086d82b23a9b47cc05c08ccb55cf1351c.tar.gz gnuradio-e0dec91086d82b23a9b47cc05c08ccb55cf1351c.tar.bz2 gnuradio-e0dec91086d82b23a9b47cc05c08ccb55cf1351c.zip |
Merge branch 'maint'
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/Modules/GrPython.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/Modules/GrPython.cmake b/cmake/Modules/GrPython.cmake index e8e07b244..eff9cbcdc 100644 --- a/cmake/Modules/GrPython.cmake +++ b/cmake/Modules/GrPython.cmake @@ -183,6 +183,10 @@ function(GR_PYTHON_INSTALL) #################################################################### file(TO_NATIVE_PATH ${PYTHON_EXECUTABLE} pyexe_native) + if (CMAKE_CROSSCOMPILING) + set(pyexe_native /usr/bin/env python) + endif() + foreach(pyfile ${GR_PYTHON_INSTALL_PROGRAMS}) get_filename_component(pyfile_name ${pyfile} NAME) get_filename_component(pyfile ${pyfile} ABSOLUTE) |