cmake .. -DCMAKE_PREFIX_PATH=/public/home/jiangzhangze/documents -DENABLE_BUILD_DYNAMIC=1 doesn't work
I try to install gmsh python API from source.And I have set cmake with -DCMAKE_PREFIX_PATH=/public/home/jiangzhangze/documents -DENABLE_BUILD_DYNAMIC=1
.But when I run make install
, I met the permission error:file INSTALL cannot copy file "/public/home/jiangzhangze/downloads/gmsh/build/gmsh" to "/usr/local/bin/gmsh": Permission denied.
Do you have a idea?