Skip to content
Snippets Groups Projects

cmake: Use CMAKE_LIBRARY_OUTPUT_DIRECTORY instead of LIBRARY_OUTPUT_PATH.

Merged Felix Weiglhofer requested to merge fweig/cbmroot:cmake-lib-dir into master

Replace usage of deprecated LIBRARY_OUTPUT_PATH variable with newer CMAKE_LIBRARY_OUTPUT_DIRECTORY. The new variable behaves like LIBRARY_OUTPUT_PATH but has the advantage that it populates the LIBRARY_OUTPUT_DIRECTORY property of targets. This property is required by xpu to figure out where the generated cuda/hip libraries should be placed.

Also bump xpu version for some minor fixes. But primarily new version now uses aforementioned property to put generated libraries in a more convenient place.

Edited by Felix Weiglhofer

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading