commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 08/09: cmake: fixes expansion of ${pyexe_na


From: git
Subject: [Commit-gnuradio] [gnuradio] 08/09: cmake: fixes expansion of ${pyexe_native} for cross builds with the use of VERBATIM.
Date: Fri, 25 Apr 2014 16:44:35 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

trondeau pushed a commit to branch maint
in repository gnuradio.

commit 835954abadb2abb10d9d77e6b702fb9a8d18c0c3
Author: Andy Walls <address@hidden>
Date:   Fri Apr 25 12:14:57 2014 -0400

    cmake: fixes expansion of ${pyexe_native} for cross builds with the use of 
VERBATIM.
---
 cmake/Modules/GrPython.cmake | 2 +-
 volk/cmake/GrPython.cmake    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/Modules/GrPython.cmake b/cmake/Modules/GrPython.cmake
index ed7f05c..395faff 100644
--- a/cmake/Modules/GrPython.cmake
+++ b/cmake/Modules/GrPython.cmake
@@ -192,7 +192,7 @@ function(GR_PYTHON_INSTALL)
         file(TO_NATIVE_PATH ${PYTHON_EXECUTABLE} pyexe_native)
 
         if (CMAKE_CROSSCOMPILING)
-           set(pyexe_native /usr/bin/env python)
+           set(pyexe_native "/usr/bin/env python")
         endif()
 
         foreach(pyfile ${GR_PYTHON_INSTALL_PROGRAMS})
diff --git a/volk/cmake/GrPython.cmake b/volk/cmake/GrPython.cmake
index f2adc31..b7b561b 100644
--- a/volk/cmake/GrPython.cmake
+++ b/volk/cmake/GrPython.cmake
@@ -184,7 +184,7 @@ function(VOLK_PYTHON_INSTALL)
         file(TO_NATIVE_PATH ${PYTHON_EXECUTABLE} pyexe_native)
 
         if (CMAKE_CROSSCOMPILING)
-           set(pyexe_native /usr/bin/env python)
+           set(pyexe_native "/usr/bin/env python")
         endif()
 
         foreach(pyfile ${VOLK_PYTHON_INSTALL_PROGRAMS})



reply via email to

[Prev in Thread] Current Thread [Next in Thread]