libhv icon indicating copy to clipboard operation
libhv copied to clipboard

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

Open SuperBigYB opened this issue 1 year ago • 1 comments

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

是否需要统一?

SuperBigYB avatar Jul 03 '24 03:07 SuperBigYB

你可以在cmake里这么设置下

set_target_properties(hv_static PROPERTIES OUTPUT_NAME hv)

ithewei avatar Jul 03 '24 03:07 ithewei