Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Linux下configure和cmake构筑产生的静态库文件名字不一样 #578

Open
SuperBigYB opened this issue Jul 3, 2024 · 1 comment

Comments

@SuperBigYB
Copy link
Contributor

在Linux下,
直接运行configure然后make编译出的静态库文件为hv.a,
cmake编译出的静态库文件为hv_static.a.

是否需要统一?

@ithewei
Copy link
Owner

ithewei commented Jul 3, 2024

你可以在cmake里这么设置下

set_target_properties(hv_static PROPERTIES OUTPUT_NAME hv)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants