diff --git a/sycl/CMakeLists.txt b/sycl/CMakeLists.txt index 454a8f62e635e..df7cf13247a80 100644 --- a/sycl/CMakeLists.txt +++ b/sycl/CMakeLists.txt @@ -212,8 +212,7 @@ add_subdirectory( source ) if (NOT WIN32) install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/xmethods/libsycl.so-gdb.py" - RENAME "${CMAKE_CURRENT_SOURCE_DIR}/xmethods/$-gdb.py" - DESTINATION lib${LLVM_LIBDIR_SUFFIX} + DESTINATION "lib${LLVM_LIBDIR_SUFFIX}/$-gdb.py" COMPONENT sycl-headers-extras) endif()