Closed milahu closed 6 months ago
fix install paths on linux
https://cmake.org/cmake/help/latest/command/install.html
DESTINATION Specify the directory on disk to which a file will be installed. Arguments can be relative or absolute paths. If a relative path is given it is interpreted relative to the value of the CMAKE_INSTALL_PREFIX variable.
DESTINATION
Specify the directory on disk to which a file will be installed. Arguments can be relative or absolute paths.
If a relative path is given it is interpreted relative to the value of the CMAKE_INSTALL_PREFIX variable.
the default value of CMAKE_INSTALL_PREFIX on linux is /usr/local
CMAKE_INSTALL_PREFIX
/usr/local
cherry-picked and reworded as 6af9aed2500d3dea67961e07bc91843451cc9c2e
Thanks @milahu!
fix install paths on linux
https://cmake.org/cmake/help/latest/command/install.html
the default value of
CMAKE_INSTALL_PREFIX
on linux is/usr/local