summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/lib/pmt/CMakeLists.txt
diff options
context:
space:
mode:
authorMichael Dickens <mlk@alum.mit.edu>2014-03-25 17:09:43 -0400
committerMichael Dickens <mlk@alum.mit.edu>2014-03-25 17:09:43 -0400
commitdee85a7f4932c2475d9e84c5f92c2f3220aed3e6 (patch)
tree9b221583874f66096302be578c208fc4d4e1d22e /gnuradio-runtime/lib/pmt/CMakeLists.txt
parent0294d120bae1efaf7d34e45efcadcc2298c65c94 (diff)
Use VERBATIM in custom commands to fix quoting, to make CMake happy with the Python command being issued
Diffstat (limited to 'gnuradio-runtime/lib/pmt/CMakeLists.txt')
-rw-r--r--gnuradio-runtime/lib/pmt/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnuradio-runtime/lib/pmt/CMakeLists.txt b/gnuradio-runtime/lib/pmt/CMakeLists.txt
index 0cc46e426a..193ccbe62f 100644
--- a/gnuradio-runtime/lib/pmt/CMakeLists.txt
+++ b/gnuradio-runtime/lib/pmt/CMakeLists.txt
@@ -68,8 +68,9 @@ add_custom_command(
${CMAKE_CURRENT_SOURCE_DIR}/unv_template.cc.t
${CMAKE_CURRENT_SOURCE_DIR}/unv_qa_template.cc.t
COMMAND ${PYTHON_EXECUTABLE} ${PYTHON_DASH_B} -c
- \"import os,sys\;srcdir='${CMAKE_CURRENT_SOURCE_DIR}'\;sys.path.append(srcdir)\;os.environ['srcdir']=srcdir\;from generate_unv import main\;main()\"
+ "import os, sys; srcdir='${CMAKE_CURRENT_SOURCE_DIR}'; sys.path.append(srcdir); os.environ['srcdir']=srcdir; from generate_unv import main; main()"
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
+ VERBATIM
)
set(pmt_sources