Skip to content

Commit 0548f6a

Browse files
authored
Merge pull request #3282 from PeterBowman/python-swig-depends
Generate dependent IDL headers before parsing yarp.i
2 parents dfe6b32 + da7ae6d commit 0548f6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bindings/python/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ set_target_properties(${SWIG_MODULE_yarp_python_REAL_NAME}
3737
LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib/python3"
3838
# treat Python3_INCLUDE_DIRS as non-system so that it can be overriden
3939
NO_SYSTEM_FROM_IMPORTED TRUE
40+
SWIG_DEPENDS "${SWIG_YARP_LIBRARIES}"
4041
)
4142

4243
# INCLUDE_DIRECTORIES might have gotten polluted by 3rd-party deps, make sure

0 commit comments

Comments
 (0)