Skip to content
Snippets Groups Projects
Commit c611305b authored by Martyn Gigg's avatar Martyn Gigg
Browse files

Add dependency on sip header to sip targets

If the sip version changes then sip needs to rerun.
Refs #20381
parent ee76cd80
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,7 @@ function ( mtd_add_sip_module ) ...@@ -52,7 +52,7 @@ function ( mtd_add_sip_module )
-I ${PARSED_SIP_SRC_DIR} -I ${_pyqt_sip_dir} -I ${PARSED_SIP_SRC_DIR} -I ${_pyqt_sip_dir}
${_pyqt_sip_flags} ${_pyqt_sip_flags}
-c ${CMAKE_CURRENT_BINARY_DIR} -j1 -w -e ${_module_spec} -c ${CMAKE_CURRENT_BINARY_DIR} -j1 -w -e ${_module_spec}
DEPENDS ${_module_spec} ${SIP_SRCS} ${PARSED_HEADER_DEPS} DEPENDS ${_module_spec} ${SIP_SRCS} ${PARSED_HEADER_DEPS} ${SIP_INCLUDE_DIR}/sip.h
COMMENT "Generating ${PARSED_MODULE_NAME} python bindings with sip" COMMENT "Generating ${PARSED_MODULE_NAME} python bindings with sip"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment