This is an automated email from the ASF dual-hosted git repository.

pengzheng pushed a commit to branch feature/556-osgi-uninstall
in repository https://gitbox.apache.org/repos/asf/celix.git

commit 7319b48fb0571498a4e6e709f2e029574172bedc
Author: PengZheng <[email protected]>
AuthorDate: Wed Jun 7 15:28:15 2023 +0800

    Make cleanup of BUNDLE_GEN_DIR work again.
---
 cmake/cmake_celix/BundlePackaging.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/cmake_celix/BundlePackaging.cmake 
b/cmake/cmake_celix/BundlePackaging.cmake
index 51f4f35c..c3b1faac 100644
--- a/cmake/cmake_celix/BundlePackaging.cmake
+++ b/cmake/cmake_celix/BundlePackaging.cmake
@@ -318,7 +318,7 @@ function(add_celix_bundle)
     ###################################
     ##### Additional Cleanup info #####
     ###################################
-    set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES 
"$<TARGET_PROPERTY:${BUNDLE_TARGET_NAME},BUNDLE_GEN_DIR>;$<TARGET_PROPERTY:${BUNDLE_TARGET_NAME},BUNDLE_CONTENT_DIR>")
+    set_target_properties(${BUNDLE_TARGET_NAME}_bundle PROPERTIES 
"ADDITIONAL_CLEAN_FILES" 
"$<TARGET_PROPERTY:${BUNDLE_TARGET_NAME},BUNDLE_GEN_DIR>;$<TARGET_PROPERTY:${BUNDLE_TARGET_NAME},BUNDLE_CONTENT_DIR>")
 
     #############################
     ### BUNDLE TARGET PROPERTIES

Reply via email to