diff options
author | Brad King <brad.king@kitware.com> | 2015-03-31 13:17:53 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-03-31 13:17:53 (GMT) |
commit | ed989122c3b997b19c714ce511619e6b6204a1f1 (patch) | |
tree | 453a78a5b33b511387c7bcb615be8ca0d5377a0f | |
parent | d66f052e9401ea3ae8194bace96d2596d8f9b4ae (diff) | |
parent | b372a99a130ec89561b2ad8d3147298dff3cf4df (diff) | |
download | CMake-ed989122c3b997b19c714ce511619e6b6204a1f1.zip CMake-ed989122c3b997b19c714ce511619e6b6204a1f1.tar.gz CMake-ed989122c3b997b19c714ce511619e6b6204a1f1.tar.bz2 |
Merge topic 'UseSWIG-no-MAIN_DEPENDENCY'
b372a99a UseSWIG: Do not use MAIN_DEPENDENCY on custom commands (#15480)
-rw-r--r-- | Modules/UseSWIG.cmake | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake index 7939b1f..7423418 100644 --- a/Modules/UseSWIG.cmake +++ b/Modules/UseSWIG.cmake @@ -204,8 +204,7 @@ macro(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile) ${swig_include_dirs} -o "${swig_generated_file_fullname}" "${swig_source_file_fullname}" - MAIN_DEPENDENCY "${swig_source_file_fullname}" - DEPENDS ${SWIG_MODULE_${name}_EXTRA_DEPS} + DEPENDS "${swig_source_file_fullname}" ${SWIG_MODULE_${name}_EXTRA_DEPS} COMMENT "Swig source") set_source_files_properties("${swig_generated_file_fullname}" ${swig_extra_generated_files} PROPERTIES GENERATED 1) |