增加FPIC编译选项

This commit is contained in:
xx
2024-05-28 19:23:05 +08:00
parent 32b58c531a
commit a37c260780

View File

@@ -48,6 +48,7 @@ if(MSVC)
# 警告等级
add_compile_options(/W3 /wd4819)
else()
add_compile_options(-fPIC)
endif()
######################## 子项目 ########################