Skip to content

cmake: CMAKE_INSTALL_LIBDIR isn't properly set

Summary

The cmake plugin sets -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu. While this is sensible, it cmake sometimes misinterprets it as relative to the directory where cmake is called rather than relative to the prefix.

See freedesktop-sdk/freedesktop-sdk#431 (closed)

Possible fixes

Setting the type, i.e. using -DCMAKE_INSTALL_LIBDIR:PATH=lib/x86_64-linux-gnu seems to fix the issue.

Other relevant information


To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information