diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-15 10:59:23 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2019-05-15 13:31:05 (GMT) |
commit | 8c47be28cc2e5d45c53a089b681257c0b8387964 (patch) | |
tree | 59fe8a5a6496579da9bf522960396be7243f961f /Modules/UseJava.cmake | |
parent | ac86c02d1b6da921c93d53fed85ad70ab05c4608 (diff) | |
download | CMake-8c47be28cc2e5d45c53a089b681257c0b8387964.zip CMake-8c47be28cc2e5d45c53a089b681257c0b8387964.tar.gz CMake-8c47be28cc2e5d45c53a089b681257c0b8387964.tar.bz2 |
UseJava: 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/UseJava.cmake')
-rw-r--r-- | Modules/UseJava.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/UseJava.cmake b/Modules/UseJava.cmake index b0315b2..0798488 100644 --- a/Modules/UseJava.cmake +++ b/Modules/UseJava.cmake @@ -735,7 +735,8 @@ function(add_jar _TARGET_NAME) # this INTERFACE library depends on jar generation add_dependencies (${_GENERATE_NATIVE_HEADERS_TARGET} ${_TARGET_NAME}) - set_property (DIRECTORY PROPERTY ADDITIONAL_MAKE_CLEAN_FILES "${_GENERATE_NATIVE_HEADERS_OUTPUT_DIR}") + set_property (DIRECTORY APPEND PROPERTY ADDITIONAL_CLEAN_FILES + "${_GENERATE_NATIVE_HEADERS_OUTPUT_DIR}") endif() endfunction() |