diff options
author | Felix Schwitzer <felix.schwitzer@gmx.at> | 2015-03-26 20:03:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-03-30 13:35:43 (GMT) |
commit | b372a99a130ec89561b2ad8d3147298dff3cf4df (patch) | |
tree | 5c03e07821fc9f733cef9a3d3af97d451182e1a5 /Source/CMakeVersionCompute.cmake | |
parent | c1f8c6cdf94d650df1bd8ec847ae7ac453550978 (diff) | |
download | CMake-b372a99a130ec89561b2ad8d3147298dff3cf4df.zip CMake-b372a99a130ec89561b2ad8d3147298dff3cf4df.tar.gz CMake-b372a99a130ec89561b2ad8d3147298dff3cf4df.tar.bz2 |
UseSWIG: Do not use MAIN_DEPENDENCY on custom commands (#15480)
Add the dependency on the main swig input source file as a normal
DEPENDS option. We cannot use MAIN_DEPENDENCY because if there are
multiple target languages then multiple custom commands would want to
use the same MAIN_DEPENDENCY, but at most one custom command may specify
a given source file as its MAIN_DEPENDENCY. Exposed by a CMP0057
warning.
Diffstat (limited to 'Source/CMakeVersionCompute.cmake')
0 files changed, 0 insertions, 0 deletions