diff options
author | Felix Schwitzer <flx107809@gmail.com> | 2017-11-06 21:10:18 (GMT) |
---|---|---|
committer | Felix Schwitzer <flx107809@gmail.com> | 2017-11-08 14:25:20 (GMT) |
commit | 2ee10119eac2802a234543581b1303d91b944afa (patch) | |
tree | 4da629f251b9f1695c2ef460678f5edbadd9728a /Modules/FindOpenSceneGraph.cmake | |
parent | b104bcfd98add349f7624887073c79a84ae41c44 (diff) | |
download | CMake-2ee10119eac2802a234543581b1303d91b944afa.zip CMake-2ee10119eac2802a234543581b1303d91b944afa.tar.gz CMake-2ee10119eac2802a234543581b1303d91b944afa.tar.bz2 |
swig: fix incremental build in case of removed interface files
Commit v3.8.0-rc1~123^2 (UseSWIG: Automatically scan dependencies of SWIG files
for Makefiles, 2016-12-21) introduced automatic dependency scanning for files
`%include`d in a swig interface definition file. This works fine as long as no
such file is removed. But removing a dependent file breaks an incremental build
and `make` complains about a missing dependency, see #16830.
Integrate the approach proposed in the issue above into the SWIG-module, do the
workaround in a conditional step as it arises only for Makefile generators. For
other generators use the implementation before that commit.
Fixes: #17433.
Diffstat (limited to 'Modules/FindOpenSceneGraph.cmake')
0 files changed, 0 insertions, 0 deletions