diff options
-rw-r--r-- | lldb/cmake/modules/AddLLDB.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/cmake/modules/AddLLDB.cmake b/lldb/cmake/modules/AddLLDB.cmake index d8fc1ab7db6..a0b007c23d0 100644 --- a/lldb/cmake/modules/AddLLDB.cmake +++ b/lldb/cmake/modules/AddLLDB.cmake @@ -204,7 +204,7 @@ function(lldb_add_to_buildtree_lldb_framework name subdir) # Destination for the copy in the build-tree. While the framework target may # not exist yet, it will exist when the generator expression gets expanded. get_target_property(framework_build_dir liblldb LIBRARY_OUTPUT_DIRECTORY) - set(copy_dest "${framework_build_dir}/${subdir}") + set(copy_dest "${framework_build_dir}/${subdir}/$<TARGET_FILE_NAME:${name}>") # Copy into the given subdirectory for testing. add_custom_command(TARGET ${name} POST_BUILD |