cmake在mac上的安装

问题遇到的现象和发生背景

请问老哥们,为什么在mac终端使用“make install”或者“sudo make install”安装.h后缀的头文件,会报没有权限的错误呢?(其他步骤都是跟着教程来的)

用代码块功能插入代码,请勿粘贴截图

sudo make install

运行结果及报错内容

CMake Error at bin/cmake_install.cmake:41 (file):
file cannot create directory: /usr/include/hello. Maybe need
administrative privileges.
Call Stack (most recent call first):
cmake_install.cmake:42 (include)

我的解答思路和尝试过的方法

分别尝试了make install 和 sudo make install,都会显示以上报错

我想要达到的结果

在usr/include/hello中安装hello.h
在usr/lib/中安装hello.a 和 hello.dylib