Skip to content

cmake: Use CMAKE_LIBRARY_OUTPUT_DIRECTORY instead of LIBRARY_OUTPUT_PATH.

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