summaryrefslogtreecommitdiff
path: root/gr-trellis
diff options
context:
space:
mode:
Diffstat (limited to 'gr-trellis')
-rw-r--r--gr-trellis/src/lib/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/gr-trellis/src/lib/CMakeLists.txt b/gr-trellis/src/lib/CMakeLists.txt
index 3f43dfc62..673032638 100644
--- a/gr-trellis/src/lib/CMakeLists.txt
+++ b/gr-trellis/src/lib/CMakeLists.txt
@@ -103,7 +103,6 @@ expand_h_cc_i(trellis_pccc_decoder_combined_XX fb fs fi cb cs ci)
add_custom_target(trellis_generated DEPENDS
${generated_trellis_includes}
${generated_trellis_swigs}
- ${CMAKE_CURRENT_BINARY_DIR}/trellis_generated.i
)
########################################################################
@@ -212,7 +211,8 @@ if(ENABLE_PYTHON)
include(GrPython)
include(GrSwig)
-set(GR_SWIG_TARGET_DEPS trellis_generated)
+set(GR_SWIG_SOURCE_DEPS ${CMAKE_CURRENT_BINARY_DIR}/trellis_generated.i)
+set(GR_SWIG_TARGET_DEPS trellis_generated trellis_generated_index)
set(GR_SWIG_INCLUDE_DIRS
${GR_TRELLIS_INCLUDE_DIRS}
${GNURADIO_CORE_SWIG_INCLUDE_DIRS}