We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$ cmake --version cmake version 3.25.1 CMake suite maintained and supported by Kitware (kitware.com/cmake).
if(NOT DEFINED $ENV{HPM_SDK_BASE}) message(FATAL_ERROR "HPM_SDK_BASE is not set yet") endif() 经过测试,删除'$ENV'的'$'即可通过,不知是CMake的什么特性
The text was updated successfully, but these errors were encountered:
请提供一下Linux的发行版(如Ubuntu20.04, Ubuntu22.04等),使用的Terminal
目前在Ubuntu,使用系统默认的Terminal无法复现这个问题
Sorry, something went wrong.
请提供一下Linux的发行版(如Ubuntu20.04, Ubuntu22.04等),使用的Terminal 目前在Ubuntu,使用系统默认的Terminal无法复现这个问题
感觉像是环境变量没有设置成功,参考一下这个知乎的帖子:https://zhuanlan.zhihu.com/p/564229673。
No branches or pull requests
CMake 环境:
相关代码
if(NOT DEFINED $ENV{HPM_SDK_BASE})
message(FATAL_ERROR "HPM_SDK_BASE is not set yet")
endif()
经过测试,删除'$ENV'的'$'即可通过,不知是CMake的什么特性
The text was updated successfully, but these errors were encountered: