指定 CMAKE_INSTALL_PREFIX
CMAKE_INSTALL_PREFIX
cmake -DCMAKE_INSTALL_PREFIX=/path/to/dir/makemake install
cmake -DCMAKE_INSTALL_PREFIX=/path/to/dir/
make
make install
若有收获,就点个赞吧
0 人点赞
让时间为你证明