summaryrefslogtreecommitdiffstats
path: root/Modules/UseSWIG.cmake
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-05-15 10:59:54 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-05-15 13:31:05 (GMT)
commiteda3963615e64f180e452b6e4bd1cce7f9fb14a9 (patch)
treeee46b19751251a3edc5110262615f0378290c2f6 /Modules/UseSWIG.cmake
parent8c47be28cc2e5d45c53a089b681257c0b8387964 (diff)
downloadCMake-eda3963615e64f180e452b6e4bd1cce7f9fb14a9.zip
CMake-eda3963615e64f180e452b6e4bd1cce7f9fb14a9.tar.gz
CMake-eda3963615e64f180e452b6e4bd1cce7f9fb14a9.tar.bz2
UseSWIG: Use ADDITIONAL_CLEAN_FILES for cleaning
Replace use of the deprecated `ADDITIONAL_MAKE_CLEAN_FILES` directory property with the new `ADDITIONAL_CLEAN_FILES` directory property.
Diffstat (limited to 'Modules/UseSWIG.cmake')
-rw-r--r--Modules/UseSWIG.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index c136b05..78522da 100644
--- a/Modules/UseSWIG.cmake
+++ b/Modules/UseSWIG.cmake
@@ -708,9 +708,9 @@ function(SWIG_ADD_LIBRARY name)
endif()
endforeach()
set_property (DIRECTORY APPEND PROPERTY
- ADDITIONAL_MAKE_CLEAN_FILES ${swig_generated_sources} ${swig_generated_timestamps})
+ ADDITIONAL_CLEAN_FILES ${swig_generated_sources} ${swig_generated_timestamps})
if (UseSWIG_MODULE_VERSION VERSION_GREATER 1)
- set_property (DIRECTORY APPEND PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "${outputdir}")
+ set_property (DIRECTORY APPEND PROPERTY ADDITIONAL_CLEAN_FILES "${outputdir}")
endif()
add_library(${target_name}