diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2016-03-30 22:45:25 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2016-03-30 22:45:25 -0700 |
commit | 6ac74a242c12b7e759403176c757b3042a67d0d1 (patch) | |
tree | 370d863f9462408962b75debdc35b56e07afde43 /gr-utils/python/modtool | |
parent | 3ac8785ed446b434c273ee25ff1e4d3e0705137b (diff) | |
parent | 5e383b0b6ef90cc555803856b82609dca6f8186a (diff) |
Merge branch 'master' into next
Diffstat (limited to 'gr-utils/python/modtool')
-rw-r--r-- | gr-utils/python/modtool/gr-newmod/CMakeLists.txt | 1 | ||||
-rw-r--r-- | gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt index 0513f44086..9b41b99f14 100644 --- a/gr-utils/python/modtool/gr-newmod/CMakeLists.txt +++ b/gr-utils/python/modtool/gr-newmod/CMakeLists.txt @@ -112,6 +112,7 @@ find_package(Doxygen) # API compatible version required. set(GR_REQUIRED_COMPONENTS RUNTIME) find_package(Gnuradio "3.7.2" REQUIRED) +list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules) if(NOT CPPUNIT_FOUND) message(FATAL_ERROR "CppUnit required to compile howto") diff --git a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake index 188c40480b..5bad57c51e 100644 --- a/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake +++ b/gr-utils/python/modtool/gr-newmod/cmake/Modules/GrMiscUtils.cmake @@ -363,6 +363,7 @@ macro(GR_EXPAND_X_H component root) import sys, os, re sys.path.append('${GR_RUNTIME_PYTHONPATH}') +sys.path.append('${CMAKE_SOURCE_DIR}/python') os.environ['srcdir'] = '${CMAKE_CURRENT_SOURCE_DIR}' os.chdir('${CMAKE_CURRENT_BINARY_DIR}') @@ -406,6 +407,7 @@ macro(GR_EXPAND_X_CC_H component root) import sys, os, re sys.path.append('${GR_RUNTIME_PYTHONPATH}') +sys.path.append('${CMAKE_SOURCE_DIR}/python') os.environ['srcdir'] = '${CMAKE_CURRENT_SOURCE_DIR}' os.chdir('${CMAKE_CURRENT_BINARY_DIR}') @@ -466,6 +468,7 @@ macro(GR_EXPAND_X_CC_H_IMPL component root) import sys, os, re sys.path.append('${GR_RUNTIME_PYTHONPATH}') +sys.path.append('${CMAKE_SOURCE_DIR}/python') os.environ['srcdir'] = '${CMAKE_CURRENT_SOURCE_DIR}' os.chdir('${CMAKE_CURRENT_BINARY_DIR}') |